/* Homepage movement: ambient photo, purposeful reveals, and responsive feedback. */
.home-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(circle at 75% 30%, rgba(67, 218, 225, .18), transparent 35%);
  animation: hero-glow 16s ease-in-out infinite alternate;
}

.home-hero-mosaic { isolation: isolate; }
.home-hero-mosaic .mosaic-travel { background-image: none; }
.home-hero-mosaic .mosaic-travel::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: linear-gradient(180deg, rgba(7, 51, 105, .02), rgba(7, 51, 105, .18)), url("Images/travel-hero.png") 78% center / cover no-repeat;
  transform: scale(1.05);
  animation: living-photo 8s linear infinite alternate;
  will-change: transform;
}
.home-hero-mosaic .mosaic-travel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .12) 52%, transparent 68%);
  opacity: .24;
  animation: photo-light 6s ease-in-out infinite alternate;
}

.home-hero-content > .eyebrow,
.home-hero-content > h1,
.home-hero-content > p:not(.eyebrow),
.home-hero-actions,
.home-proof,
.home-hero-mosaic {
  animation: hero-enter .75s both;
}
.home-hero-content > h1 { animation-delay: .1s; }
.home-hero-content > p:not(.eyebrow) { animation-delay: .2s; }
.home-hero-actions { animation-delay: .3s; }
.home-proof { animation-delay: .4s; }
.home-hero-mosaic { animation-delay: .18s; }

.home-page .coverage-section {
  position: relative;
  z-index: 1;
  margin-top: -26px;
  border-radius: 28px 28px 0 0;
}
.insurer-showcase {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 90px;
  padding-bottom: 85px;
  border-bottom: 1px solid #dbe6ea;
}
.insurer-intro h2 {
  margin: 0;
  font-size: clamp(35px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.insurer-intro h2 em { color: var(--teal); }
.insurer-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.insurer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.insurer-logo {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 116px;
  padding: 18px;
  border: 1px solid #e1e9ec;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(7, 51, 105, .045);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.insurer-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 168, 184, .38);
  box-shadow: 0 18px 36px rgba(7, 51, 105, .1);
}
.insurer-logo img {
  display: block;
  width: 100%;
  max-width: 170px;
  max-height: 76px;
  object-fit: contain;
}
.coverage-heading { scroll-margin-top: 115px; }
.home-page .insurance-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .7s ease;
}
.home-page .insurance-card:hover,
.home-page .insurance-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(17, 168, 184, .45);
  box-shadow: 0 26px 60px rgba(11, 77, 162, .14);
}
.home-page .insurance-photo { transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.home-page .insurance-card:hover .insurance-photo,
.home-page .insurance-card:focus-visible .insurance-photo { transform: scale(1.055); }
.home-page .insurance-card-body i { display: inline-block; transition: transform .3s ease; }
.home-page .insurance-card:hover .insurance-card-body i,
.home-page .insurance-card:focus-visible .insurance-card-body i { transform: translateX(5px); }
.home-page .insurance-card:focus-visible,
.home-page .floating-whatsapp:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.partner-art .partner-photo { transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.partner-art:hover .partner-photo { transform: scale(1.045); }

.motion-ready .motion-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}
.motion-ready .motion-reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .insurance-card.is-visible:hover,
.motion-ready .insurance-card.is-visible:focus-visible { transform: translateY(-7px); }

.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  background: #087a5a;
  box-shadow: 0 12px 30px rgba(2, 45, 35, .3);
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  animation: whatsapp-arrive .65s 1.5s both, whatsapp-pulse 1.3s 2.5s 1;
}
.floating-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(2, 45, 35, .36); }
.floating-whatsapp svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-in-view .floating-whatsapp { opacity: 0; pointer-events: none; }

@keyframes living-photo {
  from { transform: scale(1.05) translate3d(-1.5%, .5%, 0); }
  to { transform: scale(1.2) translate3d(2%, -1.5%, 0); }
}
@keyframes hero-glow {
  from { transform: translate3d(-2%, 1%, 0); opacity: .5; }
  to { transform: translate3d(2%, -2%, 0); opacity: 1; }
}
@keyframes photo-light {
  from { transform: translateX(-25%); opacity: .08; }
  to { transform: translateX(25%); opacity: .3; }
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes whatsapp-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes whatsapp-pulse {
  50% { box-shadow: 0 0 0 9px rgba(8, 122, 90, .15), 0 12px 30px rgba(2, 45, 35, .3); }
}

@media (max-width: 960px) {
  .insurer-showcase { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 650px) {
  .home-page .coverage-section { margin-top: -18px; border-radius: 20px 20px 0 0; }
  .insurer-showcase { grid-template-columns: 1fr; gap: 28px; margin-bottom: 70px; padding-bottom: 68px; }
  .insurer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .insurer-logo { min-height: 100px; padding: 14px; border-radius: 14px; }
  .insurer-logo img { max-height: 68px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; min-height: 54px; padding: 14px; justify-content: center; }
  .floating-whatsapp span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .motion-ready .motion-reveal { opacity: 1; transform: none; }
  .floating-whatsapp { opacity: 1; transform: none; }
}
