/* 3D edition: brand-led art direction, depth, light, and responsive composition. */
:root {
  --ink: #142f3d;
  --muted: #64747c;
  --orange: #e3712e;
  --teal: #2c7480;
  --cream: #fff7ee;
  --paper: #fafbf9;
  --line: #e7ece8;
  --depth-shadow: 0 30px 65px -35px rgb(20 47 61 / 30%);
}
.home-3d { background: var(--paper); color: var(--ink); }
.home-3d .wrapper { background: var(--paper); }
.home-3d p { color: var(--muted); }
.home-3d h1,.home-3d h2,.home-3d h3 { color: var(--ink); letter-spacing: -.035em; }
.home-3d .container { max-width: 1220px; }
.home-3d a { text-underline-offset: 5px; }
.home-3d section[id] { scroll-margin-top: 145px; }
.home-3d .eyebrow { display: block; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.6; }
.home-3d header.header { background: transparent; box-shadow: none; }
.home-3d header .top-bar { display: none; }
.home-3d header .header-banner { background: var(--ink); }
.home-3d .rates-ticker__rates .rate-row { border-color: rgb(255 255 255 / 16%); }
.home-3d .rates-ticker__province { color: #ffd0a8; }
.home-3d .main-header-wrapper { background: transparent; }
.home-3d #main-header {
  min-height: 82px; max-width: 1220px; width: calc(100% - 48px); margin: 12px auto;
  border: 1px solid rgb(255 255 255 / 95%); border-radius: 20px;
  background: rgb(255 255 255 / 93%); backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px -22px rgb(20 47 61 / 40%); padding: 0 20px;
}
.home-3d #main-header .logo-wrapper { padding: 0; }
.home-3d #main-header .logo-wrapper img { width: 220px; max-width: 100%; }
.home-3d .nav-main > li { padding: 18px 13px; }
.home-3d .nav-link--primary { color: var(--ink); font-size: 13px; }
.home-3d .nav-main > li:hover .nav-link--primary { color: var(--orange); }
.home-3d #main-header .cta a { background: var(--ink); border-radius: 11px; padding: 14px 22px; font-size: 12px; box-shadow: 0 4px 0 #081c27; }
.home-3d .subnav { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--depth-shadow); }
.home-3d .hero-3d { position: relative; padding: 42px 0 70px; overflow: hidden; background: var(--cream); }
.home-3d .hero-3d::after { position: absolute; inset: auto 0 0; height: 130px; content: ''; background: linear-gradient(transparent,var(--paper)); pointer-events: none; }
.hero-3d__ambient { position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 22%,#f5dfbd 0,transparent 46%), radial-gradient(ellipse at 60% 90%,#dfebe0 0,transparent 50%); opacity: .8; }
.home-3d .hero-3d__grid { position: relative; display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 28px; z-index: 1; }
.hero-3d__copy { padding: 24px 0 28px; position: relative; z-index: 3; }
.hero-3d .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.live-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px #f7e3d4; }
.home-3d .hero-3d h1 { font-size: clamp(48px,4.7vw,66px); line-height: 1.03; margin: 0 0 25px; max-width: 540px; color: var(--ink); text-align: left; }
.hero-3d h1 span { color: var(--orange); }
.home-3d .hero-3d__lead { text-align: left; font-size: 23px; font-weight: 800; color: var(--ink); line-height: 1.4; margin: 0 0 16px; }
.home-3d .hero-3d__description { text-align: left; font-size: 16px; line-height: 1.75; margin: 0 0 28px; max-width: 465px; }
.hero-3d__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.home-3d .depth-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 18px 24px; color: white; font-size: 15px; font-weight: 800; background: linear-gradient(140deg,#f39a5b,#e3712e 70%); border: 1px solid #f0a16b; border-radius: 13px; box-shadow: 0 5px 0 #b65321,0 16px 30px -12px rgb(227 113 46 / 50%),inset 0 1px 0 rgb(255 255 255 / 45%); transition: transform .25s,box-shadow .25s; text-decoration: none; }
.depth-button span { font-family: Arial,sans-serif; font-size: 24px; line-height: 1; font-weight: 400; }
.home-3d .depth-button:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #b65321,0 22px 35px -12px rgb(227 113 46 / 45%); color: white; }
.hero-3d__secondary { display: inline-flex; align-items: center; gap: 14px; color: var(--ink) !important; font-size: 14px; font-weight: 800; }
.hero-3d__secondary span { font-family: Arial,sans-serif; font-size: 20px; }
.hero-3d__confidence { display: flex; align-items: center; gap: 13px; margin-top: 32px; font-size: 12px; color: var(--muted); }
.star-line { color: var(--orange); letter-spacing: 3px; font-size: 17px; white-space: nowrap; }
.hero-3d__scene { position: relative; width: 100%; height: 570px; transform-style: preserve-3d; perspective: 1100px; }
[data-tilt] { transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px)); transition: transform .45s cubic-bezier(.22,1,.36,1); transform-style: preserve-3d; }
.scene-glow { position: absolute; width: 90%; height: 90%; top: 6%; left: 9%; border-radius: 50%; background: radial-gradient(circle,#fffdfa 12%,#f5d9b5 52%,transparent 72%); }
.scene-orbit { position: absolute; width: 106%; height: 70%; top: 40%; left: -2%; border: 1px solid rgb(44 116 128 / 18%); border-radius: 50%; transform: rotateX(68deg) rotateZ(-12deg); }
.hero-3d__model { position: absolute; inset: 40px -35px 0 -10px; transform: translateZ(24px); animation: home-levitate 7s ease-in-out infinite; }
.hero-3d__model img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 18px rgb(20 47 61 / 14%)); }
.floating-rate { position: absolute; z-index: 3; left: 15px; top: 5px; width: 190px; padding: 18px 20px 14px; border: 1px solid white; border-radius: 20px; background: rgb(255 255 255 / 94%); box-shadow: 0 7px 0 #e8e8df,0 25px 45px -18px rgb(20 47 61 / 32%); transform: translateZ(70px) rotate(-6deg); }
.floating-rate__label { font-size: 9px; letter-spacing: .08em; font-weight: 800; color: var(--muted); }
.floating-rate > strong { display: block; color: var(--ink); font-weight: 800; font-size: 55px; line-height: 1.15; letter-spacing: -.06em; }
.floating-rate > strong > span { font-size: 32px; letter-spacing: -.03em; }
.floating-rate__foot { display: flex; align-items: center; gap: 5px; font-size: 9px; color: var(--teal); font-weight: 800; margin-top: 6px; white-space: nowrap; }
.floating-rate__foot > span { width: 5px; height: 5px; border-radius: 50%; background: #73a38e; }
.floating-care { position: absolute; right: -15px; bottom: 46px; padding: 16px 20px 16px 14px; border-radius: 18px; border: 1px solid #fff; background: rgb(255 255 255 / 93%); backdrop-filter: blur(12px); box-shadow: 0 5px 0 #dce7e0,0 25px 40px -16px rgb(20 47 61 / 35%); display: flex; align-items: center; gap: 12px; transform: translateZ(90px) rotate(5deg); }
.floating-care strong { display: block; font-size: 14px; color: var(--ink); }
.floating-care div > span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.care-icon { width: 42px; height: 46px; background: #e3f0e8; display: grid; place-items: center; border-radius: 13px; box-shadow: inset 0 -3px 0 #c5dbd0; }
.care-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--teal); stroke-width: 1.7; }
.scene-caption { position: absolute; bottom: 4px; left: 21%; color: #8e9b97; font-size: 9px; font-weight: 800; letter-spacing: .19em; }
@keyframes home-levitate { 0%,100% { transform: translate3d(0,0,24px); } 50% { transform: translate3d(0,-12px,24px); } }
.home-3d .trust-3d { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; align-items: center; gap: 30px; padding: 26px 35px; position: relative; z-index: 2; margin-top: -8px; }
.trust-3d__intro > strong { font-size: 21px; display: block; letter-spacing: -.03em; line-height: 1.25; margin-top: 8px; }
.trust-3d__intro .eyebrow { font-size: 9px; }
.trust-3d__stat { border-left: 1px solid #dde4df; padding-left: 32px; }
.trust-3d__stat > strong { display: block; font-size: 39px; letter-spacing: -.05em; line-height: 1.2; }
.trust-3d__stat > strong > span { color: var(--orange); }
.trust-3d__stat > span:last-child { color: var(--muted); display: block; font-size: 12px; margin-top: 7px; }
.trust-3d__stat .trust-3d__service { font-size: 20px; letter-spacing: -.02em; }
.trust-stars { color: var(--orange); font-size: 13px; letter-spacing: 3px; display: block; margin-bottom: 7px; }
.home-3d .pathway-3d { padding: 70px 20px 84px; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 30px; }
.home-3d .section-intro h2 { font-size: 38px; line-height: 1.15; margin: 12px 0 0; }
.home-3d .section-intro > p { font-size: 15px; line-height: 1.7; margin: 0 0 3px; }
.pathway-3d__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.home-3d .pathway-card { position: relative; display: block; padding: 24px 24px 28px; background: linear-gradient(145deg,#fff,#f7f9f5); border: 1px solid white; border-radius: 22px; box-shadow: 0 5px 0 #e6e9e3,0 15px 25px -18px rgb(20 47 61 / 25%); text-decoration: none; color: var(--ink); }
.home-3d .pathway-card:nth-child(2) { background: linear-gradient(145deg,#f2f7f1,#eaf1e9); }
.home-3d .pathway-card:nth-child(3) { background: linear-gradient(145deg,#fff6ec,#fcf0e0); }
.pathway-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.pathway-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--teal); box-shadow: 0 4px 0 #e5e9e3,0 8px 10px -7px rgb(20 47 61 / 20%); transform: translateZ(25px); }
.pathway-icon svg { height: 25px; max-width: 28px; }
.pathway-card__number { color: #a5b0ab; font-size: 11px; }
.home-3d .pathway-card h3 { font-size: 21px; margin: 0 0 10px; }
.home-3d .pathway-card p { font-size: 13px; line-height: 1.65; margin: 0; max-width: 180px; padding-bottom: 22px; }
.pathway-card__arrow { position: absolute; right: 22px; bottom: 20px; font: 22px Arial,sans-serif; color: var(--teal); }
.pathway-card:hover { --lift: -7px; }
.home-3d #rates-content { position: relative; background: var(--ink); max-width: 1260px; width: calc(100% - 64px); padding: 46px 40px 40px; margin: 0 auto 72px; border-radius: 30px; box-shadow: 0 10px 0 #0b2230,0 35px 55px -35px rgb(20 47 61 / 50%); overflow: visible; }
.rates-3d__intro { margin: 0 0 26px 4px; }
.home-3d .rates-3d__intro .eyebrow { color: #e6b08a; }
.home-3d .rates-3d__intro h2 { color: white; font-size: 36px; line-height: 1.15; margin: 10px 0; }
.home-3d .rates-3d__intro p { color: #acc2c8; font-size: 14px; margin: 0; }
.home-3d .rates-block__inner { border-radius: 22px; margin: 0; background: transparent; box-shadow: none; }
.home-3d .rates-module > .col { padding: 0; }
.home-3d .rates-block .rates-cta { background: transparent; padding: 22px 35px 20px 0; }
.home-3d .rates-cta .featured-rate__term { color: #b1ced0; font-size: 14px; }
.home-3d .rates-cta .featured-rate__rate { color: #fff1df; font-size: 90px; letter-spacing: -.07em; line-height: 1.15; }
.home-3d .rates-cta h3 { color: white; font-size: 25px; line-height: 1.3; }
.home-3d .rates-cta #subheading-string { color: #c2d6d9; font-size: 13px; }
.home-3d .rates-cta .rates-body { margin-top: 18px; }
.home-3d .rates-cta p { color: #b2c5cd; font-size: 14px; line-height: 1.7; }
.home-3d #rates-cta { border-radius: 11px; box-shadow: 0 4px 0 #9a481e; padding: 14px 20px; font-size: 15px; }
.home-3d .rates-calculator { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 0 #c2d1cf,0 12px 25px rgb(0 0 0 / 8%); padding-bottom: 10px; color: var(--ink); }
.home-3d .rate-input { border-radius: 10px; border: 1px solid #d8e2df; background: white; color: var(--ink); }
.home-3d .rates-calculator .mortgage-size { background: #f0f5f2; }
.home-3d .rates-group .rate-row:nth-child(odd) { background: #f7f9f6; }
.home-3d .rates-group .rate-row:hover { background: #e4f0ec; }
.home-3d .rates-disclaimer p { color: #728389; font-size: 10px; margin-bottom: 3px; }
.home-3d .rate-modal__container { border-radius: 22px; border: 0; box-shadow: 0 30px 80px rgb(0 0 0 / 30%); }
.home-3d .rate-modal__header { background: #eef5f0; color: var(--ink); padding: 22px; }
.home-3d .rate-modal__description,.home-3d .modal-dislaimer-large { color: var(--muted); }
.home-3d .rate-modal__link a { border-radius: 11px; }
.home-3d .text-with-image:not(.text-with-image--full) { padding: 40px 0; }
.home-3d .depth-split { padding: 0; align-items: center; column-gap: 70px; flex-wrap: nowrap; }
.home-3d .depth-split > .col-md-6 { width: calc(50% - 35px); flex: 0 0 calc(50% - 35px); }
.home-3d .depth-media { padding: 30px; position: relative; border: 1px solid #fff; border-radius: 32px; background: linear-gradient(150deg,#f3eee4,#faf8f2); box-shadow: inset 0 1px 0 #fff,0 7px 0 #e8e9df,var(--depth-shadow); }
.home-3d #image-with-text-5242 .depth-media,.home-3d #image-with-text-6653 .depth-media { background: linear-gradient(135deg,#e9f0e7,#f7f9f2); }
.home-3d #image-with-text-5226 .depth-media { background: linear-gradient(135deg,#ebf2ef,#f8fbf8); }
.home-3d .depth-media img { filter: drop-shadow(0 20px 17px rgb(20 47 61 / 12%)); transform: translateZ(30px); }
.home-3d .depth-media lottie-player,.home-3d .depth-media canvas { transform: translateZ(20px); }
.home-3d .depth-copy { padding: 0; }
.home-3d .depth-copy .eyebrow { margin-bottom: 14px; }
.home-3d .depth-copy h2 { font-size: 36px; line-height: 1.17; margin: 0 0 22px; }
.home-3d .depth-copy p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.home-3d .depth-copy p a { font-weight: 800; }
.home-3d .agent-cta { max-width: 1260px; width: calc(100% - 64px); margin: 80px auto; padding: 45px 30px 0; border-radius: 30px; background: radial-gradient(ellipse at 90% 90%,#3a7e85,transparent 60%),var(--ink); overflow: hidden; box-shadow: 0 8px 0 #0c2431,var(--depth-shadow); }
.home-3d .agent-cta > .container { padding: 0; }
.home-3d .agent-cta__text-wrapper { padding: 15px 30px 0 15px; }
.home-3d .agent-cta h2 { color: white; font-size: 38px; line-height: 1.16; }
.home-3d .agent-cta p { color: #c0d1d4; font-size: 14px; line-height: 1.75; }
.home-3d .agent-cta__link-wrapper { padding: 0 0 20px 15px; }
.home-3d .agent-cta__link-wrapper a { display: inline-block; color: var(--ink); background: #fff1dd; padding: 13px 22px; border-radius: 12px; box-shadow: 0 4px 0 #c6bda9; }
.home-3d .agent-cta__photo-wrapper img { filter: drop-shadow(-20px 10px 25px rgb(0 0 0 / 18%)); }
.home-3d #image-with-text-1106 { max-width: 1220px; width: calc(100% - 64px); margin: 0 auto 50px; border-radius: 30px; overflow: hidden; box-shadow: var(--depth-shadow); background: #f0e8db; }
.home-3d #image-with-text-1106 .text-with-image--full__content { padding: 50px; background: #f2eadc; }
.home-3d #image-with-text-1106 h2 { color: var(--ink); font-size: 34px; }
.home-3d #image-with-text-1106 p { font-size: 15px; line-height: 1.7; }
.home-3d .testimonial-section { margin: 50px auto 30px; padding: 50px 20px; background: #edf2ec; color: var(--ink); }
.review-3d-heading { text-align: center; margin-bottom: 18px; }
.home-3d .review-3d-heading h2 { font-size: 30px; margin: 10px 0; }
.home-3d .testimonial { padding-top: 16px; }
.home-3d .testimonial blockquote p { color: #465c65; font-size: 17px; line-height: 1.9; }
.home-3d .testimonial blockquote footer { color: var(--ink); font-size: 13px; font-weight: 800; }
.home-3d .tnm-calculator-holder { max-width: 360px; }
.home-3d .section-cards { padding: 65px 0 25px; }
.home-3d .section-cards__heading { font-size: 35px; text-transform: none; letter-spacing: -.035em; margin: 0 0 34px; text-align: left; color: var(--ink); }
.home-3d .section-cards__card-wrapper { margin-bottom: 30px; text-decoration: none; }
.home-3d .section-cards__card-wrapper--inner { height: 100%; background: white; border: 1px solid #eef0e9; border-radius: 22px; overflow: hidden; box-shadow: 0 5px 0 #e7eae3,0 12px 25px -18px rgb(20 47 61 / 30%); transition: box-shadow .3s; }
.home-3d .section-cards__card-wrapper:hover { --lift: -6px; }
.home-3d .section-cards__image { background: #f3f2e9; overflow: hidden; }
.home-3d .section-cards__image img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.home-3d .section-cards__card-wrapper:hover img { transform: scale(1.05); }
.home-3d .section-cards__card { padding: 25px; background: white; color: var(--ink); }
.home-3d .section-cards__card h3 { color: var(--ink); font-size: 23px; line-height: 1.23; }
.home-3d .section-cards__card p { font-size: 14px; line-height: 1.65; }
.home-3d .section-cards__card .learn-more { color: var(--teal); }
.home-3d .footer { background: var(--ink); color: #c3d2d7; margin-top: 70px; }
.home-3d .footer__main { background: transparent; padding-top: 65px; padding-bottom: 45px; }
.home-3d .footer h3,.home-3d .footer h6 { color: white; }
.home-3d .footer h3 { font-size: 25px; line-height: 1.2; }
.home-3d .footer p,.home-3d .footer li { color: #a9bec6; font-size: 13px; line-height: 1.7; }
.home-3d .footer a { color: #dfb28d; }
.home-3d .footer input,.home-3d .footer select { border: 1px solid #4b6470; border-radius: 9px; background: #f9fbf7; color: var(--ink); padding: 12px; }
.home-3d .footer .submit-contact-form { border: 0; border-radius: 9px; background: #e3712e; padding: 13px 20px; color: white; box-shadow: 0 4px 0 #a74d20; }
.home-3d .footer__bottom { background: #0d2431; color: #8ea6af; }
.home-3d .homepage-chat-button { background: linear-gradient(135deg,#ef9656,#da6627); border: 1px solid #f6b17e; box-shadow: 0 4px 0 #a94e21,0 12px 25px -8px rgb(107 61 31 / 40%); }
.home-3d .homepage-chat-panel { border: 1px solid #f0e9df; border-radius: 22px; box-shadow: 0 8px 0 #dae3da,0 25px 70px rgb(20 47 61 / 20%); }
.home-3d .homepage-chat-header { background: var(--ink); }
.has-depth-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1); }
.has-depth-motion [data-reveal].is-visible { opacity: 1; transform: none; }
@media (min-width:891px) and (max-width:1120px) {
  .home-3d #main-header .logo-wrapper img { width: 185px; }
  .home-3d #main-header .nav-wrapper { padding: 0 8px; }
  .home-3d .nav-main > li { padding: 18px 9px; }
  .home-3d #main-header .cta { padding: 0; }
  .home-3d .hero-3d__grid { padding: 0 36px; }
  .hero-3d__scene { height: 510px; }
  .floating-rate { left: 0; top: 20px; width: 170px; }
  .floating-rate > strong { font-size: 48px; }
  .floating-care { right: -8px; bottom: 22px; }
  .home-3d .depth-split { column-gap: 45px; }
  .home-3d .depth-split > .col-md-6 { width: calc(50% - 22.5px); flex-basis: calc(50% - 22.5px); }
}
@media (max-width:890px) {
  .home-3d #main-header { width: 100%; margin: 0; min-height: 64px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .home-3d #main-header .logo-wrapper { padding: 0 14px; }
  .home-3d #main-header .logo-wrapper img { width: 180px; }
  .home-3d #main-header .cta a { border-radius: 0; box-shadow: none; padding: 0; }
  .home-3d #main-header .mobile-toggle { background: transparent; color: var(--ink); }
  .home-3d #main-header .nav-wrapper { border-radius: 0 0 20px 20px; top: -110vh; box-shadow: var(--depth-shadow); }
  .home-3d header.opened #main-header .nav-wrapper { top: 64px; }
  .home-3d .nav-main > li { padding: 0; }
  .home-3d .nav-link--primary { font-size: 14px; }
  .home-3d .subnav { border-radius: 0; border: 0; box-shadow: none; }
  .home-3d .hero-3d { padding: 30px 0 45px; }
  .home-3d .hero-3d__grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 30px; }
  .home-3d .hero-3d h1 { font-size: 48px; }
  .home-3d .hero-3d__lead { text-align: left; font-size: 20px; }
  .home-3d .hero-3d__description { text-align: left; font-size: 14px; }
  .hero-3d__scene { height: 450px; }
  .floating-rate { width: 150px; left: -5px; top: 15px; padding: 12px 14px; border-radius: 15px; }
  .floating-rate > strong { font-size: 42px; }
  .floating-rate__label { font-size: 8px; }
  .floating-rate__foot { font-size: 8px; }
  .floating-care { padding: 12px; right: -8px; bottom: 20px; gap: 9px; }
  .floating-care strong { font-size: 12px; }
  .floating-care div > span { font-size: 10px; }
  .care-icon { width: 34px; height: 37px; }
  .hero-3d__model { inset: 40px -25px 0 -25px; }
  .scene-caption { left: 10%; font-size: 7px; bottom: -6px; }
  .hero-3d__actions { gap: 18px; }
  .home-3d .depth-button { font-size: 13px; padding: 15px 18px; gap: 12px; }
  .hero-3d__secondary { font-size: 12px; }
  .hero-3d__confidence { flex-wrap: wrap; gap: 7px; font-size: 11px; }
  .home-3d .trust-3d { gap: 18px; padding: 28px 30px; }
  .trust-3d__stat { padding-left: 18px; }
  .trust-3d__stat > strong { font-size: 31px; }
  .trust-3d__intro > strong { font-size: 18px; }
  .trust-3d__intro .eyebrow { font-size: 7px; }
  .trust-3d__stat .trust-3d__service { font-size: 15px; }
  .trust-3d__stat > span:last-child { font-size: 10px; }
  .home-3d .pathway-3d { padding: 45px 30px 65px; }
  .pathway-3d__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .home-3d #rates-content { width: calc(100% - 40px); padding: 35px 24px 26px; }
  .home-3d .rates-block .rates-cta { padding: 10px 10px 24px; }
  .home-3d .depth-split { column-gap: 35px; }
  .home-3d .depth-split > .col-md-6 { width: calc(50% - 17.5px); flex-basis: calc(50% - 17.5px); }
  .home-3d .depth-media { padding: 18px; border-radius: 24px; }
  .home-3d .depth-copy h2 { font-size: 29px; }
  .home-3d .depth-copy p { font-size: 14px; }
  .home-3d .agent-cta { width: calc(100% - 40px); padding: 30px 20px 0; }
  .home-3d .agent-cta h2 { font-size: 32px; }
  .home-3d .agent-cta__text-wrapper { padding: 0 0 0 15px; }
  .home-3d #image-with-text-1106 { width: calc(100% - 40px); }
  .home-3d #image-with-text-1106 .text-with-image--full__content { padding: 32px; }
  .home-3d #image-with-text-1106 h2 { font-size: 29px; }
}
@media (max-width:620px) {
  .home-3d .container { padding-left: 24px; padding-right: 24px; }
  .home-3d .hero-3d { padding: 25px 0 35px; }
  .home-3d .hero-3d__grid { grid-template-columns: 1fr; gap: 0; }
  .hero-3d__copy { padding: 12px 0 6px; }
  .hero-3d .eyebrow { font-size: 9px; margin-bottom: 20px; }
  .home-3d .hero-3d h1 { font-size: clamp(43px,11vw,60px); line-height: 1.04; margin-bottom: 20px; max-width: 470px; }
  .home-3d .hero-3d__lead { text-align: left; font-size: 20px; line-height: 1.4; }
  .home-3d .hero-3d__description { text-align: left; font-size: 14px; margin-bottom: 23px; }
  .hero-3d__actions { gap: 20px; }
  .home-3d .depth-button { padding: 15px 18px; font-size: 13px; }
  .hero-3d__confidence { margin-top: 23px; }
  .hero-3d__scene { height: 380px; margin-top: 20px; max-width: 450px; justify-self: center; }
  .hero-3d__model { inset: 20px -10px 0; }
  .floating-rate { width: 145px; left: 0; top: 0; }
  .floating-care { right: -2px; bottom: 18px; }
  .scene-caption { bottom: -8px; left: 13%; font-size: 7px; }
  .home-3d .trust-3d { grid-template-columns: 1fr 1fr; padding-top: 22px; gap: 24px 14px; }
  .trust-3d__intro { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .trust-3d__intro .eyebrow { font-size: 9px; max-width: 125px; }
  .trust-3d__intro > strong { margin-top: 0; font-size: 20px; }
  .trust-3d__stat { padding-left: 0; border-left: 0; }
  .trust-3d__stat > strong { font-size: 35px; }
  .trust-3d__stat > span:last-child { font-size: 11px; }
  .trust-3d__stat:last-child { grid-column: 1/-1; display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .trust-stars { margin-bottom: 0; font-size: 12px; }
  .trust-3d__stat:last-child > span:last-child { margin-top: 0; }
  .trust-3d__stat .trust-3d__service { font-size: 15px; }
  .home-3d .pathway-3d { padding-top: 32px; padding-bottom: 50px; }
  .section-intro { display: block; margin-bottom: 24px; }
  .home-3d .section-intro h2 { font-size: 32px; }
  .home-3d .section-intro > p { font-size: 13px; margin-top: 16px; }
  .pathway-3d__grid { gap: 16px; }
  .home-3d .pathway-card { padding: 18px 15px 22px; border-radius: 17px; }
  .pathway-card__top { margin-bottom: 22px; }
  .pathway-icon { height: 43px; width: 43px; border-radius: 12px; }
  .home-3d .pathway-card h3 { font-size: 18px; }
  .home-3d .pathway-card p { font-size: 11px; padding-bottom: 20px; line-height: 1.7; }
  .pathway-card__arrow { right: 14px; bottom: 14px; }
  .home-3d #rates-content { width: calc(100% - 28px); border-radius: 24px; padding: 28px 16px 20px; margin-bottom: 40px; }
  .rates-3d__intro { margin-bottom: 10px; }
  .home-3d .rates-3d__intro .eyebrow { font-size: 8px; }
  .home-3d .rates-3d__intro h2 { font-size: 28px; }
  .home-3d .rates-3d__intro p { font-size: 12px; }
  .home-3d .rates-cta .featured-rate__rate { font-size: 78px; }
  .home-3d .rates-cta h3 { font-size: 24px; }
  .home-3d .rates-cta .rates-body p { font-size: 13px; }
  .home-3d .rates-block__inner { padding: 0; }
  .home-3d .rates-calculator { border-radius: 16px; margin-left: 0; margin-right: 0; }
  .home-3d .rate-headings { font-size: 10px; }
  .home-3d .rates-table .type-column { font-size: 12px; }
  .home-3d .rates-table .rates { font-size: 16px; }
  .home-3d .rates-table .payments { font-size: 15px; }
  .home-3d .rates-table .payments sup { font-size: 8px; }
  .home-3d .rates-table .row > [class*='col-'] { padding-left: 9px; padding-right: 9px; }
  .home-3d .rates-group .rate-row { padding-left: 0; padding-right: 0; }
  .home-3d .payment-note { font-size: 9px; }
  .home-3d .text-with-image:not(.text-with-image--full) { padding: 32px 0; }
  .home-3d .depth-split { display: flex; flex-direction: column; gap: 35px; }
  .home-3d .depth-split > .col-md-6 { width: 100%; flex: 0 0 100%; }
  .home-3d .depth-media { padding: 24px; order: 0; max-width: 460px; }
  .home-3d .depth-copy { order: 1; }
  .home-3d .depth-copy h2 { font-size: 30px; }
  .home-3d .depth-copy p { font-size: 14px; }
  .home-3d .depth-copy .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .home-3d .agent-cta { width: calc(100% - 28px); margin: 40px auto; padding: 32px 8px 16px; border-radius: 24px; }
  .home-3d .agent-cta > .container { padding-left: 16px; padding-right: 16px; }
  .home-3d .agent-cta__text-wrapper,.home-3d .agent-cta__link-wrapper { padding: 0; }
  .home-3d .agent-cta h2 { font-size: 30px; }
  .home-3d .agent-cta p { font-size: 13px; }
  .home-3d #image-with-text-1106 { width: calc(100% - 28px); border-radius: 24px; margin-bottom: 20px; }
  .home-3d #image-with-text-1106 > .container-fluid { padding-left: 0; padding-right: 0; }
  .home-3d #image-with-text-1106 .text-with-image--full__background-image { min-height: 280px; }
  .home-3d #image-with-text-1106 .text-with-image--full__content { padding: 32px 27px; }
  .home-3d #image-with-text-1106 h2 { font-size: 29px; }
  .home-3d .review-3d-heading h2 { font-size: 27px; }
  .home-3d .testimonial-section { padding: 35px 0; margin-top: 35px; }
  .home-3d .testimonial blockquote p { font-size: 14px; line-height: 1.8; }
  .home-3d .section-cards { padding-top: 40px; padding-bottom: 0; }
  .home-3d .section-cards__heading { font-size: 29px; line-height: 1.15; margin-bottom: 25px; }
  .home-3d .section-cards__card { padding: 24px; }
  .home-3d .section-cards__card h3 { font-size: 24px; }
  .home-3d .footer { margin-top: 40px; }
  .home-3d .footer__main { padding-top: 40px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-3d__model { animation: none; }
  [data-tilt] { transform: none !important; transition: none !important; }
  .has-depth-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (max-width:890px) {
  .home-3d #main-header .logo-wrapper { flex: 1 1 0; min-width: 0; align-items: center; justify-content: center; }
  .home-3d #main-header .header-logo { display: flex; height: 64px; align-items: center; }
  .home-3d #main-header .logo-wrapper img { width: 150px; height: auto; max-height: 34px; object-fit: contain; }
  .home-3d #main-header .cta { flex: 0 0 84px; width: 84px; height: 64px; padding: 0; }
  .home-3d #main-header .cta a { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; font-size: 12px; padding: 0; }
}
