:root {
  --blue: #272d3b;
  --blue2: #3b4658;
  --accent: #0097da;
  --accent2: #1f9ad9;
  --red: #0097da;
  --red2: #272d3b;
  --ink: #2f2f2f;
  --text: #4d4d4d;
  --muted: #777;
  --soft: #f5f7f9;
  --line: #e1e5ea;
  --white: #fff;
  --shadow: 0 24px 70px rgba(39, 45, 59, .13)
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Open Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
  -webkit-font-smoothing: subpixel-antialiased;
  overflow-x: hidden
}
a {
  color: inherit;
  text-decoration: none;
  transition: .3s all ease
}
a:hover {
  color: var(--accent)
}
img {
  max-width: 100%;
  height: auto
}
.container {
  width: min(1200px, calc(100% - 34px));
  margin-inline: auto
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(39, 45, 59, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px)
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}
.brand {
  display: flex;
  align-items: center
}
.brand img {
  width: clamp(125px, 15vw, 190px);
  display: block;
  height: auto;
  aspect-ratio: 169 / 40;
  object-fit: contain
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto
}
.main-nav a, .nav-cta {
  color: #c8c8c8;
  font-size: 22px;
  line-height: 32px
}
.main-nav a {
  position: relative
}
.mobile-quote-link {
  display: none
}
.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s ease
}
.main-nav a:hover, .main-nav a.active {
  color: #fff
}
.main-nav a:hover:after, .main-nav a.active:after {
  transform: scaleX(1)
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 16px
}
.language-switch {
  position: relative;
  display: inline-flex;
  align-items: center
}
.language-current {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(242, 244, 246, .42);
  background: transparent;
  color: #f2f4f6;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  cursor: default;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease
}
.language-current i {
  font-size: 9px;
  transition: transform .2s ease
}
.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 136px;
  padding: 8px;
  background: var(--blue);
  border: 1px solid rgba(242, 244, 246, .2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 30
}
.language-switch:hover .language-menu, .language-switch:focus-within .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}
.language-switch:hover .language-current, .language-switch:focus-within .language-current {
  border-color: var(--accent);
  color: #fff
}
.language-switch:hover .language-current i, .language-switch:focus-within .language-current i {
  transform: rotate(180deg)
}
.language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: #f2f4f6;
  font-size: 13px;
  line-height: 1.1;
  opacity: .78;
  transition: opacity .2s ease, color .2s ease, background .2s ease, transform .2s ease
}
.language-menu a:hover, .language-menu a.active {
  opacity: 1;
  color: var(--accent);
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
  transform: translateX(2px)
}
.language-switch img {
  width: 16px;
  height: 11px;
  display: block;
  object-fit: cover
}
.nav-cta:hover {
  color: #fff
}
.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px
}
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 170px 0 118px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(39, 45, 59, .54), rgba(39, 45, 59, .76)), url('https://www.modesta.co/design/img/parallax_01.jpg') center/cover no-repeat
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(0, 151, 218, .22), transparent 36%), linear-gradient(90deg, rgba(255, 255, 255, .04), transparent 40%, rgba(255, 255, 255, .04));
  animation: heroGlow 9s ease-in-out infinite alternate
}
.hero:after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 86px;
  background: #fff;
  clip-path: polygon(0 56%, 18% 68%, 39% 50%, 60% 65%, 80% 45%, 100% 59%, 100% 100%, 0 100%)
}
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: auto
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 4px
}
.eyebrow:before {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  background: var(--accent)
}
.display {
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(48px, 7.4vw, 86px);
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  max-width: 1000px
}
.lead {
  max-width: 830px;
  margin: 0 auto;
  color: #f0f0f0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25
}
.hero-actions, .cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 54px auto 0;
  max-width: 930px;
  background: rgba(39, 45, 59, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2)
}
.stat {
  padding: 24px 28px;
  border-right: 1px solid rgba(255, 255, 255, .2)
}
.stat:last-child {
  border-right: 0
}
.stat b {
  display: block;
  color: #fff;
  font-size: 38px;
  font-weight: 300;
  line-height: 1
}
.stat span {
  color: #d7d7d7;
  font-size: 17px;
  text-transform: uppercase
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-family: inherit;
  font-size: 19px;
  line-height: 1.2;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 26px rgba(39, 45, 59, .08)
}
.btn:before {
  content: "";
  position: absolute;
  inset: 100% 0 0;
  background: var(--blue);
  z-index: -1;
  transition: .4s all cubic-bezier(.52, 1.64, .37, .66)
}
.btn:hover {
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-2px)
}
.btn:hover:before {
  inset: 0
}
.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff
}
.btn.primary:before {
  background: var(--blue)
}
.btn.dark {
  background: var(--blue);
  color: #fff
}
.section {
  position: relative;
  padding: 92px 0;
  background: #fff
}
.section.alt {
  background: linear-gradient(180deg, #f6f8fb, #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}
.section-title {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center
}
.section-title .eyebrow {
  color: var(--accent);
  font-size: 20px
}
.section-title .eyebrow:before {
  background: var(--accent)
}
.section-title h1, .section-title h2 {
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  text-transform: uppercase
}
.section-title p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 21px
}
.muted {
  color: var(--muted)
}
.small {
  font-size: 16px
}
.display-medium {
  font-size: 56px
}
.display-advisor {
  font-size: 52px
}
.grid {
  display: grid;
  gap: 24px
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}
.card {
  position: relative;
  min-height: 100%;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease
}
.card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent)
}
.card:after {
  content: "";
  position: absolute;
  right: -54px;
  top: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0, 151, 218, .16);
  border-radius: 50%;
  transition: .35s ease
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 151, 218, .38);
  box-shadow: 0 30px 85px rgba(39, 45, 59, .18)
}
.card:hover:after {
  transform: scale(1.18)
}
.card i {
  color: var(--accent);
  font-size: 34px;
  margin-bottom: 20px
}
.card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 300;
  line-height: 1.16;
  text-transform: uppercase
}
.card p {
  margin: 0;
  color: #666
}
.card .btn {
  margin-top: 22px
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center
}
.visual-panel {
  min-height: 440px;
  background: linear-gradient(135deg, rgba(0, 151, 218, .22), rgba(39, 45, 59, .06)), url('../img/modesta-feeling.webp') center/cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}
.legacy-intro .visual-panel {
  background-image: linear-gradient(135deg, rgba(0, 151, 218, .22), rgba(39, 45, 59, .06)), url('../img/about-tomo.webp')
}
.pill-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px
}
.feature-split .pill-list, .result-card .pill-list {
  justify-content: flex-start
}
.pill, .tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: #fff;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase
}
.steps {
  max-width: 900px;
  margin: auto
}
.product-showcase, .compact-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px
}
.product-card, .compact-product {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: .28s ease
}
.product-card:before, .compact-product:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent)
}
.product-card:hover, .compact-product:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 151, 218, .38)
}
.compact-product.visible, .surface-card.visible, .product-card.visible {
  animation: softPop .7s ease both
}
.product-bottle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 158px;
  background: transparent;
  border: 1px solid var(--line)
}
.product-card img, .product-bottle img {
  width: 82px;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(39, 45, 59, .18))
}
.product-copy, .product-card div {
  position: relative;
  z-index: 1
}
.product-copy h3, .product-card h3, .surface-card h3 {
  margin: 9px 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase
}
.product-card h3 small, .compact-product h3 small {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.2;
  margin-top: 4px
}
.product-copy p, .product-card p, .surface-card p {
  margin: 0;
  color: #666
}
.product-copy ul, .product-card ul, .surface-card ul {
  margin: 13px 0 0 20px;
  color: #777;
  font-size: 17px
}
.result-products {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}
.result-products .product-card {
  grid-template-columns: 150px 1fr
}
.result-products .product-card img {
  width: 130px;
  max-height: 220px
}
.surface-sections {
  display: grid;
  gap: 24px;
  margin-top: 38px
}
.surface-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 136px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: .28s ease
}
.surface-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent)
}
.surface-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 151, 218, .38)
}
.surface-image {
  display: grid;
  place-items: center;
  min-height: 150px;
  background: transparent;
  border: 1px solid var(--line)
}
.surface-image img {
  width: 86px;
  max-height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(39, 45, 59, .18))
}
.footer {
  position: relative;
  background: var(--blue);
  color: #f2f4f6;
  padding: 48px 0 22px;
  font-size: 15px;
  line-height: 1.35
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.35fr 1.25fr;
  gap: 30px;
  align-items: start
}
.footer h3 {
  margin: 0 0 10px;
  color: #f2f4f6;
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase
}
.footer a {
  display: block;
  margin: 5px 0;
  color: #f2f4f6
}
.footer a:hover {
  color: var(--accent);
  text-decoration: none
}
.footer .muted, .footer .small {
  color: #f2f4f6
}
.footer .small {
  font-size: 13px
}
.footer-links {
  columns: 2;
  column-gap: 28px
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 244, 246, .55);
  color: #f2f4f6;
  font-size: 14px;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease
}
.socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
  text-decoration: none;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 151, 218, .34)
}
.socials a i {
  transition: transform .25s ease
}
.socials a:hover i {
  transform: scale(1.12)
}
.footer-bottom {
  border-top: 1px solid rgba(242, 244, 246, .28);
  margin-top: 24px;
  padding-top: 16px;
  color: #f2f4f6;
  font-size: 13px
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8,.2, 1);
  transition-delay: var(--reveal-delay, 0ms)
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}
.reveal.visible .card, .reveal.visible.card {
  animation: softPop .7s ease both
}
@keyframes heroGlow {
  from {
    opacity: .55;
    transform: scale(1)
  }
  to {
    opacity: 1;
    transform: scale(1.04)
  }
}
@keyframes softPop {
  0% {
    transform: translateY(18px) scale(.985)
  }
  100% {
    transform: translateY(0) scale(1)
  }
}
@media(max-width:1120px) {
  .main-nav {
    gap: 18px
  }
  .main-nav a, .nav-cta {
    font-size: 20px
  }
  .compact-products, .product-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .compact-product {
    grid-template-columns: 104px 1fr
  }
  .advisor-shell {
    grid-template-columns: 1fr
  }
  .advisor-copy {
    padding: 0;
    text-align: center
  }
  .advisor-copy:after {
    display: none
  }
  .advisor-copy .display {
    text-align: center
  }
  .advisor-options, .advisor-options.five {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}
@media(max-width:960px) {
  .nav-wrap {
    min-height: 76px
  }
  .mobile-toggle {
    display: block
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start
  }
  .main-nav .mobile-quote-link {
    display: block
  }
  .main-nav.open {
    display: flex
  }
  .nav-cta {
    display: inline-flex;
    font-size: 18px;
    line-height: 1.15;
    white-space: nowrap
  }
  .nav-tools {
    margin-left: auto;
    gap: 12px
  }
  .grid-2, .grid-3, .grid-4, .feature-split, .installer-layout, .footer-grid {
    grid-template-columns: 1fr
  }
  .stat-strip {
    grid-template-columns: 1fr
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2)
  }
  .map {
    height: 460px
  }
  .section {
    padding: 74px 0
  }
  .surface-card {
    grid-template-columns: 1fr
  }
  .surface-image {
    justify-content: start;
    max-width: 170px
  }
  .form-grid {
    grid-template-columns: 1fr
  }
  .advisor-options, .advisor-options.five {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}
@media(max-width:640px) {
  body {
    font-size: 18px
  }
  .hero {
    min-height: auto;
    padding: 126px 0 94px
  }
  .display {
    font-size: 42px
  }
  .lead {
    font-size: 22px
  }
  .hero-actions, .cta-row {
    justify-content: stretch
  }
  .btn {
    width: 100%
  }
  .nav-wrap {
    gap: 12px
  }
  .brand {
    flex: 0 0 auto
  }
  .brand img {
    width: clamp(112px, 34vw, 142px);
    min-width: 112px
  }
  .nav-cta {
    font-size: 16px
  }
  .language-current {
    padding: 4px 6px;
    font-size: 11px
  }
  .language-menu {
    right: auto;
    left: 0
  }
  .compact-products, .product-showcase, .result-products {
    grid-template-columns: 1fr
  }
  .compact-product, .product-card, .result-products .product-card {
    grid-template-columns: 1fr
  }
  .product-bottle {
    justify-content: start;
    min-height: 130px
  }
  .search-inline {
    grid-template-columns: 1fr
  }
  .search-submit .btn {
    width: 100%
  }
  .display-medium, .display-advisor {
    font-size: 40px
  }
  .card, .surface-card, .compact-product, .product-card {
    padding: 26px
  }
  .stat b {
    font-size: 32px
  }
  .hero:after {
    height: 54px
  }
  .pill-list, .advisor-answers {
    justify-content: flex-start
  }
  .advisor-shell {
    padding: 22px
  }
  .advisor-step legend {
    font-size: 32px
  }
  .advisor-options, .advisor-options.five {
    grid-template-columns: 1fr
  }
  .advisor-option {
    grid-template-rows: 170px auto;
    min-height: auto
  }
  .advisor-image {
    height: 170px
  }
  .advisor-controls {
    display: grid;
    grid-template-columns: 1fr 1fr
  }
}
.advisor-assurance {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 19px;
  text-align: justify
}
.advisor-assurance p {
  margin: 0 auto
}
/* Fine tune: centered eyebrow marks, full-width advisor, cleaner cards, map-first installer layout */
.eyebrow {
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  text-align: center
}
.eyebrow:before {
  order: 2;
  margin: 0 auto
}
.section-title .eyebrow, .advisor-copy .eyebrow {
  align-items: center
}
.feature-split .eyebrow {
  align-items: flex-start;
  text-align: left
}
.feature-split .eyebrow:before {
  margin-left: 0
}
.section .eyebrow {
  color: var(--accent)
}
.section .eyebrow:before {
  background: var(--accent)
}
.section .display {
  color: var(--ink)
}
.hero .eyebrow {
  color: #fff
}
.hero .eyebrow:before {
  background: var(--accent)
}
.advisor-shell {
  display: block;
  text-align: center
}
.advisor-copy {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 0;
  align-items: center
}
.advisor-copy:after {
  display: none
}
.advisor-copy .display {
  text-align: center;
  margin-left: auto;
  margin-right: auto
}
.advisor-copy .muted {
  max-width: 760px;
  margin: 0 auto
}
.advisor-slider {
  width: 100%
}
.advisor-step legend {
  text-align: center
}
.advisor-controls {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto
}
.advisor-assurance {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto
}
.card:after, .card:hover:after {
  display: none
}
.installer-layout {
  grid-template-columns: 1fr
}
.installer-layout .map {
  order: 1
}
.installer-layout .search-box {
  order: 2
}
.installer-layout .search-box {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 22px;
  align-items: start
}
.installer-layout .search-box h2, .installer-layout .search-box > p:not(#search-label):not(#result-count), .installer-layout .search-box form {
  grid-column: 1
}
.installer-layout #search-label, .installer-layout #result-count, .installer-layout .result-list {
  grid-column: 2
}
.installer-layout .result-list {
  max-height: 440px;
  margin-top: 0
}
@media(max-width:960px) {
  .installer-layout .search-box {
    grid-template-columns: 1fr
  }
  .installer-layout .search-box h2, .installer-layout .search-box > p:not(#search-label):not(#result-count), .installer-layout .search-box form, .installer-layout #search-label, .installer-layout #result-count, .installer-layout .result-list {
    grid-column: 1
  }
  .installer-layout .result-list {
    margin-top: 20px;
    max-height: 560px
  }
  .feature-split .eyebrow {
    align-items: center;
    text-align: center
  }
  .feature-split .eyebrow:before {
    margin-left: auto
  }
}
.installer-layout .search-box {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: start
}
.locator-form {
  grid-column: 1
}
.locator-results {
  grid-column: 2;
  min-width: 0
}
.locator-results .result-list {
  margin-top: 14px;
  max-height: 480px
}
.locator-results #search-label {
  margin-top: 0
}
.locator-results #result-count {
  margin: 6px 0 0
}
.locator-form h2 {
  margin-top: 0
}
.locator-form datalist {
  display: none
}
@media(max-width:960px) {
  .installer-layout .search-box {
    grid-template-columns: 1fr
  }
  .locator-form, .locator-results {
    grid-column: 1
  }
  .locator-results {
    margin-top: 22px
  }
  .locator-results .result-list {
    max-height: 560px
  }
}
/* OpenStreetMap locator and motion polish */
body {
  animation: pageIn .55s ease both
}
.site-header {
  animation: navDrop .65s cubic-bezier(.2, .8, .2, 1) both
}
.hero-card {
  animation: heroRise .9s cubic-bezier(.2, .8, .2, 1) both
}
.section-title.visible h1, .section-title.visible h2 {
  animation: titleLift .7s ease both
}
.card i, .advisor-option, .compact-product, .product-card {
  will-change: transform
}
.card:hover i {
  animation: iconPulse .7s ease
}
.visual-panel, .map {
  animation: none
}
.map {
  position: relative;
  overflow: hidden;
  background: #272d3b;
  border-color: #272d3b
}
.leaflet-container {
  font-family: 'Open Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  background: #272d3b;
  color: #adadad
}
.leaflet-tile {
  filter: grayscale(1) invert(1) hue-rotate(178deg) brightness(.62) contrast(1.08);
}
.leaflet-control-attribution {
  background: rgba(39, 45, 59, .82) !important;
  color: #adadad !important
}
.leaflet-control-attribution a {
  color: #fff !important
}
.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important
}
.leaflet-control-zoom a {
  width: 42px !important;
  height: 42px !important;
  line-height: 40px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  background: #272d3b !important;
  color: #fff !important;
  font-size: 24px !important
}
.leaflet-control-zoom a:hover {
  background: #0097da !important
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  border-radius: 0 !important;
  background: #fff;
  color: #4d4d4d;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22)
}
.leaflet-popup-content {
  font-size: 18px;
  line-height: 1.25
}
.modesta-marker span, .modesta-origin-marker span {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 151, 218, .18), 0 10px 24px rgba(0, 0, 0, .28)
}
.modesta-marker span {
  width: 24px;
  height: 24px;
  background: #0097da;
  border: 3px solid #fff
}
.modesta-origin-marker span {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border: 3px solid #fff;
  animation: locatorPulse 1.8s ease-in-out infinite
}
.locator-loading {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--accent);
  font-size: 18px;
  text-transform: uppercase
}
.locator-loading.active {
  display: flex
}
.locator-loading span {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 151, 218, .25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite
}
.distance {
  min-width: max-content;
  text-align: center
}
@keyframes pageIn {
  from {
    opacity: 0
  }
  to {
    opacity: 1
  }
}
@keyframes navDrop {
  from {
    transform: translateY(-22px);
    opacity: 0
  }
  to {
    transform: translateY(0);
    opacity: 1
  }
}
@keyframes heroRise {
  from {
    transform: translateY(28px);
    opacity: 0
  }
  to {
    transform: translateY(0);
    opacity: 1
  }
}
@keyframes titleLift {
  from {
    transform: translateY(18px);
    opacity: .6
  }
  to {
    transform: translateY(0);
    opacity: 1
  }
}
@keyframes iconPulse {
  0%, 100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.12)
  }
}
@keyframes panelGlow {
  from {
    box-shadow: var(--shadow)
  }
  to {
    box-shadow: 0 28px 85px rgba(0, 151, 218, .2)
  }
}
@keyframes locatorPulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(0, 151, 218, .18), 0 10px 24px rgba(0, 0, 0, .28)
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 151, 218, 0), 0 10px 24px rgba(0, 0, 0, .28)
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}
.legacy-intro {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 38px
}
.legacy-intro .display {
  color: var(--ink)
}
.legacy-intro .eyebrow {
  color: var(--accent)
}
.legacy-intro .eyebrow:before {
  background: var(--accent)
}
.legacy-facts .card, .legacy-values .card {
  background: #fff;
  color: var(--text)
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #272d3b;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0 0 24px;
  overflow: hidden
}
.video-card h3, .video-card p {
  padding: 0 24px
}
.video-card h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase
}
.video-card p {
  margin: 0;
  color: #666
}
.bunny-video-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 12px;
  align-content: center;
  background: linear-gradient(135deg, #272d3b, #3b4658);
  color: #fff;
  text-align: center;
  text-transform: uppercase
}
.bunny-video-placeholder i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 24px
}
.bunny-video-placeholder span {
  font-size: 22px
}
.shop-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}
.shop-frame {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px
}
.shop-frame > i {
  color: var(--accent);
  font-size: 34px;
  margin-bottom: 18px
}
.shop-frame h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
  text-transform: uppercase
}
.shop-frame p {
  margin: 0 0 18px;
  color: #666
}
.seller-list {
  margin: 0;
  padding-left: 20px;
  color: #777
}
.disabled-link {
  pointer-events: none;
  opacity: .72
}
.maintenance-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px
}
.maintenance-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease
}
.maintenance-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent)
}
.maintenance-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 151, 218, .38);
  box-shadow: 0 30px 85px rgba(39, 45, 59, .18)
}
.maintenance-visual {
  min-height: 168px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 18px
}
.maintenance-visual img {
  width: 86px;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(39, 45, 59, .18))
}
.maintenance-code {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  background: var(--accent);
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .02em
}
.maintenance-kind {
  margin: -4px 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase
}
.maintenance-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 300;
  line-height: 1.05;
  text-transform: uppercase
}
.maintenance-card p:last-child {
  margin: 0;
  color: #666
}
.maintenance-card.visible {
  animation: softPop .7s ease both;
  animation-delay: var(--reveal-delay, 0ms)
}
/* Product, legacy and care page refinements */
.compact-product {
  grid-template-columns: 1fr;
  align-content: start
}
.compact-product .product-bottle {
  min-height: 190px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: -24px -24px 18px;
  padding: 24px 24px 18px
}
.compact-product .product-bottle img {
  width: 104px;
  max-height: 178px
}
.surface-card {
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start
}
.surface-card .surface-image {
  max-width: none;
  justify-content: center;
  min-height: 260px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: -28px -28px 18px;
  padding: 0
}
.surface-card .surface-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none
}
.product-link, .text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase
}
.product-link:after, .text-link:after {
  content: "";
  display: inline-block;
  width: .82em;
  height: .94em;
  margin-left: 8px;
  background: currentColor;
  -webkit-mask: url('../icons/arrow-right.svg') center/contain no-repeat;
  mask: url('../icons/arrow-right.svg') center/contain no-repeat
}
.surface-card .product-link {
  margin-top: 16px
}
.surface-image {
  background: transparent
}
.timeline {
  display: grid;
  gap: 20px;
  max-width: 940px;
  margin: auto
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  border-left: 2px solid var(--accent);
  padding-left: 24px
}
.timeline-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 300;
  text-transform: uppercase
}
.timeline-year {
  color: var(--accent);
  font-size: 36px
}
@media(max-width:1120px) {
  .maintenance-products {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
  .legacy-facts, .legacy-values {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(max-width:960px) {
  .shop-frames, .legacy-facts, .legacy-values, .maintenance-products, .blog-feed {
    grid-template-columns: 1fr
  }
  .legacy-intro {
    padding: 28px
  }
  .step {
    grid-template-columns: 76px 1fr
  }
  .step-image {
    grid-column: 1/-1;
    width: 100%;
    min-height: 160px
  }
  .compact-product .product-bottle {
    margin: -26px -26px 18px
  }
}
@media(min-width:641px) {
  .product-showcase.result-products {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}
