.hero-topline,
.hero-carousel {
  width: min(1120px, calc(100% - 80px));
}

.hero-topline { padding-top: 25px; }
.world-link {
  display: inline-flex;
  align-items: center;
  color: var(--deep);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 5px 0;
}
.world-link:hover { border-color: currentColor; }

.hero-carousel {
  position: relative;
  margin-top: 12px;
  margin-bottom: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(37, 36, 59, .055);
}
.hero-carousel .hero {
  width: 100%;
  min-height: 490px;
  padding: 32px 44px 8px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 30px;
}
.hero-carousel .hero-slide.is-current { animation: carousel-enter .45s ease both; }
.hero-carousel .hero-copy { max-width: 585px; }
.hero-carousel h1,
.hero-carousel h2 {
  font-size: clamp(42px, 4.15vw, 61px);
  line-height: 1.06;
  letter-spacing: -.059em;
  margin: 20px 0 20px;
  font-weight: 760;
}
.hero-carousel h2 em { color: var(--teal); font-family: Georgia, serif; font-weight: 400; }
.hero-carousel .hero-lead {
  max-width: 555px;
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.hero-carousel .hero-actions { display: block; }
.hero-carousel .button { max-width: 100%; padding: 15px 19px; font-size: 13px; line-height: 1.4; }
.hero-carousel .hero-visual { height: 415px; width: 100%; max-width: none; }
.hero-carousel .hero-img-frame { width: calc(100% - 8px); }
.hero-carousel .hero-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-carousel .hero-visual:before { top: 12px; bottom: 15px; left: 26px; }
.hero-carousel .visual-sticker {
  left: auto;
  right: 4px;
  bottom: 24px;
  max-width: 192px;
  padding: 14px 16px;
  font-size: 15px;
  transform: rotate(-4deg);
}
.hero-carousel .orbit-one { display: none; }
.slide-photo-label {
  position: absolute;
  right: 5px;
  bottom: 24px;
  z-index: 3;
  max-width: 210px;
  padding: 13px 16px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.2;
  transform: rotate(-3deg);
}
.slide-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 21px; }
.slide-topics span {
  padding: 7px 10px;
  border-radius: 100px;
  background: var(--mint);
  color: var(--deep);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.slide-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.slide-link:hover { color: var(--teal); }
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 44px 20px;
  color: var(--deep);
}
.carousel-progress { position: relative; width: 96px; height: 3px; background: var(--line); border-radius: 3px; }
.carousel-progress-bar {
  position: absolute;
  left: calc(var(--slide-index, 0) * 25%);
  top: 0;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: left .35s ease;
}
.carousel-counter { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.carousel-arrows { display: flex; gap: 8px; margin-left: auto; }
.carousel-arrows button {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid #a5cac5;
  border-radius: 50%;
  background: white;
  color: var(--deep);
  font-size: 19px;
  line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}
.carousel-arrows button:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.floating-whatsapp {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 8px 24px rgba(37,36,59,.2);
  transition: transform .2s, background .2s;
}
.floating-whatsapp:hover { background: var(--deep); transform: translateY(-3px); }
.floating-whatsapp img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
@keyframes carousel-enter { from { opacity: .5; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 900px) {
  .hero-topline, .hero-carousel { width: min(700px, calc(100% - 44px)); }
  .hero-carousel .hero { display: grid; grid-template-columns: 1fr; min-height: 0; padding: 34px 32px 0; gap: 18px; }
  .hero-carousel .hero-visual { height: 330px; max-width: 100%; }
  .hero-carousel .hero-img-frame { width: calc(100% - 8px); }
  .hero-carousel .hero-lead { margin-bottom: 18px; }
  .hero-carousel h1, .hero-carousel h2 { font-size: clamp(42px, 7vw, 57px); }
  .carousel-controls { padding: 12px 32px 20px; }
}
@media (max-width: 640px) {
  .hero-topline { width: calc(100% - 38px); padding-top: 14px; }
  .hero-carousel { width: calc(100% - 24px); margin-top: 8px; margin-bottom: 26px; border-radius: 14px; }
  .hero-carousel .hero { padding: 25px 20px 0; gap: 19px; }
  .hero-carousel h1, .hero-carousel h2 { font-size: clamp(36px, 9vw, 45px); margin: 15px 0 16px; }
  .hero-carousel .hero-lead { font-size: 14.5px; line-height: 1.56; }
  .hero-carousel .button { width: 100%; font-size: 12.5px; padding: 14px 15px; }
  .hero-carousel .hero-visual { height: 260px; max-width: 100%; }
  .hero-carousel .hero-img-frame { width: calc(100% - 5px); }
  .hero-carousel .hero-visual:before { left: 27px; }
  .hero-carousel .visual-sticker { left: auto; right: 5px; bottom: 16px; max-width: 150px; padding: 10px 12px; font-size: 12px; }
  .slide-photo-label { right: 5px; bottom: 15px; max-width: 165px; padding: 10px 12px; font-size: 12px; }
  .slide-topics { gap: 6px; margin-bottom: 17px; }
  .slide-topics span { font-size: 10px; padding: 6px 9px; }
  .carousel-controls { padding: 10px 20px 16px; }
  .floating-whatsapp { right: 19px; bottom: 82px; width: 49px; height: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-slide.is-current { animation: none; }
  .carousel-progress-bar, .floating-whatsapp { transition: none; }
}
