/* cta pilot */
.cta-pilot {
  transition: filter 0.3s ease;
}
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.cta-pilot:hover,
.cta-pilot:focus-visible {
  filter: brightness(1.08);
  color: #ffffff !important;
  animation: ctaPulse 1.6s ease-out infinite;
}
.cta-pilot:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .cta-pilot {
    transition: none;
  }
  .cta-pilot:hover,
  .cta-pilot:focus-visible {
    animation: none;
  }
}
/* responsive: tablet & mobile */
/* mobile type scale */
@media (max-width: 640px) {
  [style*="font-size: 24px"],
  [style*="font-size: 26px"] {
    font-size: 22px !important;
  }
  p[style*="font-size: 20px"] {
    font-size: 18px !important;
  }
}
/* section eyebrows */
h1.eyebrow::before {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 0.1em !important;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 3px;
  margin-top: calc(0.775em - 1.5px);
  border-radius: 2px;
  background: currentColor;
}
@media (max-width: 640px) {
  .eyebrow {
    font-size: 16px !important;
    gap: 10px;
  }
  .eyebrow::before {
    width: 22px;
  }
}
@media (max-width: 640px) {
  header ~ section:first-of-type,
  header ~ article:first-of-type {
    padding-top: 28px !important;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .cp-hero {
    flex-wrap: nowrap !important;
    gap: 32px !important;
    align-items: center !important;
  }
  .cp-hero > div:first-child {
    flex: 1 1 0 !important;
  }
  .cp-hero > div:last-child {
    flex: 0 0 40% !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
  }
  .cp-hero > div:last-child > figure {
    flex: 1 1 0;
    min-width: 0;
  }
  .cp-hero > div:last-child img {
    width: 100% !important;
    border-radius: 20px !important;
    border-width: 4px !important;
  }
  .cp-hero p[style*="font-size: 54px"] {
    font-size: 42px !important;
  }
  .cp-hero p[style*="font-size: 20px"] {
    font-size: 18px !important;
  }
}
@media (max-width: 640px) {
  .cta-box {
    padding: 28px 24px !important;
    gap: 20px !important;
  }
  .cta-box h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  .cta-box p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .cta-box a[href^="mailto"]:not(.cta-pilot) {
    font-size: 18px !important;
  }
  .cta-pilot {
    min-height: 52px !important;
    font-size: 16px !important;
    padding: 0 8px 0 22px !important;
    gap: 12px !important;
  }
  .cta-pilot-go {
    width: 36px !important;
    height: 36px !important;
  }
}
@media (min-width: 641px) and (max-width: 1024px) {
  [style*="max-width: 1240px"] {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}
/* mobile: unified spacing & type */
@media (max-width: 640px) {
  [style*="max-width: 1240px"][style*="padding: 72px 24px"],
  [style*="max-width: 1240px"][style*="padding: 64px 24px"],
  [style*="max-width: 1240px"][style*="padding: 56px 24px"],
  [style*="max-width: 1240px"][style*="padding: 48px 24px"],
  [style*="max-width: 1240px"][style*="padding: 32px 24px"] {
    padding-top: 48px !important;
  }
  [style*="max-width: 1240px"][style*="24px 72px"],
  [style*="max-width: 1240px"][style*="24px 64px"],
  [style*="max-width: 1240px"][style*="24px 56px"],
  [style*="max-width: 1240px"][style*="padding: 72px 24px;"],
  [style*="max-width: 1240px"][style*="padding: 64px 24px;"],
  [style*="max-width: 1240px"][style*="padding: 56px 24px;"],
  [style*="max-width: 1240px"][style$="padding: 72px 24px"],
  [style*="max-width: 1240px"][style$="padding: 64px 24px"],
  [style*="max-width: 1240px"][style$="padding: 56px 24px"] {
    padding-bottom: 48px !important;
  }
  [style*="margin-top: 64px"][style*="padding: 64px 0"],
  [style*="margin-top: 72px"][style*="padding: 72px 0"] {
    margin-top: 48px !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  section[style*="gap: 48px"] {
    gap: 32px !important;
  }
  [style*="font-size: 40px"],
  [style*="font-size: 32px"] {
    font-size: 28px !important;
  }
  [style*="font-size: 44px"],
  [style*="font-size: 48px"] {
    font-size: 36px !important;
  }
  header ~ section:first-of-type[style],
  header ~ article:first-of-type[style] {
    padding-top: 28px !important;
  }
}
/* tablet: unified spacing & type */
@media (min-width: 641px) and (max-width: 1199px) {
  [style*="font-size: 54px"],
  [style*="font-size: 68px"],
  .fe-hero p[style*="font-size: 54px"],
  .rs-hero p[style*="font-size: 54px"],
  .cp-hero p[style*="font-size: 54px"],
  .hero-v3 .hero-h1,
  .hero-h1 {
    font-size: 40px !important;
  }
  [style*="font-size: 42px"] {
    font-size: 36px !important;
  }
  [style*="font-size: 40px"],
  [style*="font-size: 36px"],
  [style*="font-size: 32px"] {
    font-size: 30px !important;
  }
  p[style*="font-size: 16px"] {
    font-size: 18px !important;
  }
  [style*="max-width: 1240px"][style*="padding: 72px 24px"],
  [style*="max-width: 1240px"][style*="padding: 64px 24px"],
  [style*="max-width: 1240px"][style*="padding: 56px 24px"],
  [style*="max-width: 1240px"][style*="padding: 48px 24px"],
  [style*="max-width: 1240px"][style*="padding: 32px 24px"] {
    padding-top: 56px !important;
  }
  [style*="max-width: 1240px"][style*="24px 72px"],
  [style*="max-width: 1240px"][style*="24px 64px"],
  [style*="max-width: 1240px"][style*="24px 56px"],
  [style*="max-width: 1240px"][style*="padding: 72px 24px;"],
  [style*="max-width: 1240px"][style*="padding: 64px 24px;"],
  [style*="max-width: 1240px"][style*="padding: 56px 24px;"],
  [style*="max-width: 1240px"][style$="padding: 72px 24px"],
  [style*="max-width: 1240px"][style$="padding: 64px 24px"],
  [style*="max-width: 1240px"][style$="padding: 56px 24px"] {
    padding-bottom: 56px !important;
  }
  [style*="margin-top: 64px"][style*="padding: 64px 0"],
  [style*="margin-top: 72px"][style*="padding: 72px 0"] {
    margin-top: 56px !important;
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  section[style*="gap: 48px"] {
    gap: 40px !important;
  }
}
/* tablet: final check */
@media (min-width: 641px) and (max-width: 1199px) {
  [style*="max-width: 1240px"] {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  h2[style*="font-size: 28px"],
  h2[style*="font-size: 24px"] {
    font-size: 30px !important;
  }
  h3[style*="font-size: 18px"],
  h3[style*="font-size: 20px"],
  h3[style*="font-size: 24px"],
  h3[style*="font-size: 26px"],
  h3[style*="font-size: 28px"] {
    font-size: 22px !important;
  }
  section p:not([style*="font-size"]),
  section li:not([style*="font-size"]),
  article p:not([style*="font-size"]),
  article li:not([style*="font-size"]) {
    font-size: 18px;
  }
  div:has(> p.eyebrow + h2),
  div:has(> h1.eyebrow) {
    gap: 12px;
  }
  section[style*="gap: 24px"],
  section[style*="gap: 28px"],
  section[style*="gap: 48px"] {
    gap: 32px !important;
  }
}
/* mobile type scale v2 (6 sizes) */
@media (max-width: 640px) {
  html body [style*="font-size: 36px"]:not(h2):not(h3),
  html body [style*="font-size: 40px"]:not(h2):not(h3),
  html body [style*="font-size: 42px"]:not(h2):not(h3),
  html body [style*="font-size: 44px"]:not(h2):not(h3),
  html body [style*="font-size: 48px"]:not(h2):not(h3),
  html body [style*="font-size: 54px"]:not(h2):not(h3),
  html body [style*="font-size: 56px"]:not(h2):not(h3),
  html body [style*="font-size: 60px"]:not(h2):not(h3),
  html body [style*="font-size: 64px"]:not(h2):not(h3),
  html body [style*="font-size: 68px"]:not(h2):not(h3),
  html body [style*="font-size: 72px"]:not(h2):not(h3),
  html body .hero-h1,
  html body .hero-v3 .hero-h1,
  html body header ~ section .hero-h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }
  html body h2,
  html body h2[style],
  html body [style*="font-size: 28px"],
  html body [style*="font-size: 30px"],
  html body [style*="font-size: 32px"],
  html body [style*="font-size: 34px"] {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  html body h3,
  html body [style*="font-size: 20px"],
  html body [style*="font-size: 22px"],
  html body [style*="font-size: 24px"],
  html body [style*="font-size: 26px"],
  html body .tile-name,
  html body .st-name {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
  html body .q-slide blockquote,
  html body blockquote {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  html body .fit-grid .tile-name {
    font-size: 18px !important;
  }
  html body .tile-more,
  html body .st-more,
  html body .pl-pill {
    font-size: 16px !important;
  }
  html body [style*="font-size: 17px"],
  html body [style*="font-size: 18px"],
  html body [style*="font-size: 19px"] {
    font-size: 16px !important;
  }
  html body [style*="font-size: 15px"],
  html body .more-card[style] > span > span:nth-child(2) {
    font-size: 14px !important;
  }
  html body .art,
  html body .art p,
  html body .art li,
  html body .art p[style] {
    font-size: 17px !important;
  }
  html body [style*="font-size: 10px"],
  html body [style*="font-size: 11px"],
  html body [style*="font-size: 13px"] {
    font-size: 12px !important;
  }
  html body .eyebrow {
    font-size: 14px !important;
  }
  html body input,
  html body textarea,
  html body select {
    font-size: 16px !important;
  }
}
/* mobile: compact footer */
@media (max-width: 640px) {
  footer#contact > div {
    gap: 16px !important;
  }
  footer#contact img[alt="FRAVEBOT home"] {
    height: 40px !important;
  }
  footer#contact > div > div:first-child > div {
    padding-left: 16px !important;
  }
  footer#contact li {
    padding: 12px 12px 12px 16px !important;
    gap: 12px !important;
  }
  footer#contact li > img {
    width: 40px !important;
    height: 40px !important;
  }
  footer#contact li > div {
    flex: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    column-gap: 8px;
    row-gap: 0;
    align-items: center;
  }
  footer#contact li > div > span:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  footer#contact li > div > span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  footer#contact li > div > a[href^="mailto"] {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border-radius: 999px;
    border: 1px solid #eedcd8;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden;
    background: #ffffff url(img/507c2a04617c4f2ae2b2482c838257d3.svg) center / 22px no-repeat;
  }
  footer#contact li > div > a[href^="tel"] {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0 !important;
    border-radius: 999px;
    border: 1px solid #eedcd8;
    font-size: 0 !important;
    color: transparent !important;
    overflow: hidden;
    background: #ffffff url(img/def37d479cf815e2a33423b6b01f4186.svg) center / 22px no-repeat;
  }
}
/* mobile: footer contacts three side by side */
@media (max-width: 640px) {
  html body footer#contact ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  html body footer#contact li {
    position: relative;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 6px !important;
    padding: 12px 6px !important;
  }
  html body footer#contact li > img {
    width: 56px !important;
    height: 56px !important;
  }
  html body footer#contact li > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 2px !important;
  }
  html body footer#contact li > div > span:first-child {
    font-size: 14px !important;
    line-height: 1.25;
  }
  html body footer#contact li > div > span:nth-child(2) {
    font-size: 12px !important;
    line-height: 1.3;
  }
  html body footer#contact li > div > a[href^="tel"] {
    display: none !important;
  }
  html body footer#contact li > div > a[href^="mailto"] {
    position: static !important;
    font-size: 0 !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body footer#contact li > div > a[href^="mailto"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
  }
  html body footer#contact li > div > span:first-child {
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: normal;
  }
  html body footer#contact li {
    padding: 12px 4px !important;
  }
  html body footer#contact ul {
    gap: 6px !important;
  }
}
/* mobile: footer contact buttons (Tylda) */
@media (max-width: 640px) {
  html body footer#contact li {
    justify-content: flex-start !important;
    padding: 12px 8px !important;
  }
  html body footer#contact li > div {
    display: grid !important;
    grid-template-columns: 1fr 38px 6px 38px 1fr !important;
    grid-template-rows: auto auto 1fr !important;
    justify-items: center;
    align-content: start !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    column-gap: 0 !important;
    row-gap: 2px !important;
  }
  html body footer#contact li > div > span {
    grid-column: 1 / -1 !important;
  }
  html body footer#contact li > div > span:nth-child(2) {
    margin-bottom: 10px;
  }
  html body footer#contact li > div > span:first-child {
    font-size: 12px !important;
    font-weight: 700 !important;
  }
  html body footer#contact .ln {
    display: block;
  }
  html body footer#contact li > div > span:nth-child(2) {
    white-space: nowrap !important;
  }
  html body footer#contact ul {
    margin-left: -12px !important;
    margin-right: -12px !important;
    gap: 4px !important;
  }
  html body footer#contact li {
    padding: 12px 3px !important;
  }
  html body footer#contact li > div > a[href^="mailto"],
  html body footer#contact li > div > a[href^="tel"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    grid-row: 3 !important;
    align-self: end;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    font-size: 0 !important;
    color: transparent !important;
    border-radius: 999px !important;
    text-decoration: none !important;
  }
  html body footer#contact li > div > a[href^="mailto"] {
    grid-column: 2 !important;
    justify-self: center;
    margin-top: 8px !important;
    background: #c4002b !important;
    border: 1px solid #c4002b !important;
  }
  html body footer#contact li > div > a[href^="tel"] {
    grid-column: 4 !important;
    justify-self: center;
    margin-top: 8px !important;
    background: #ffffff !important;
    border: 1px solid #d9cfcd !important;
  }
  html body footer#contact li > div > a[href^="mailto"]::before,
  html body footer#contact li > div > a[href^="tel"]::before {
    content: "";
    position: static !important;
    inset: auto !important;
    width: 18px;
    height: 18px;
    background: center/18px 18px no-repeat;
    border-radius: 0;
  }
  html body footer#contact li > div > a[href^="mailto"]::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FFFFFF%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%275%27%20width%3D%2718%27%20height%3D%2714%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M3%207l9%206%209-6%27%2F%3E%3C%2Fsvg%3E");
  }
  html body footer#contact li > div > a[href^="tel"]::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C4002B%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L8%209.9a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.8.7a2%202%200%200%201%201.7%202z%27%2F%3E%3C%2Fsvg%3E");
  }
  html body footer#contact li > div > a[href^="mailto"]::after {
    content: none !important;
  }
  html body footer#contact li > div > a[href^="tel"]::after {
    content: none !important;
  }
}
/* band top spacing: same rhythm as sections */
@media (min-width: 641px) and (max-width: 1199px) {
  [style*="margin-top: 72px"],
  [style*="margin-top: 64px"] {
    margin-top: 56px !important;
  }
}
@media (max-width: 640px) {
  [style*="margin-top: 72px"],
  [style*="margin-top: 64px"] {
    margin-top: 48px !important;
  }
}
