:root {
  --arator-water: #9ae9cd;
  --arator-mint: #dff6ec;
  --arator-mint-border: #b5dfcc;
  --arator-motion-ease: cubic-bezier(.22, .61, .36, 1);
}

.brand {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
}

.brand-mark {
  width: 37px;
  height: 35px;
  flex: 0 0 auto;
  overflow: visible;
  transition: transform .42s var(--arator-motion-ease);
}

.brand-mark path {
  fill: var(--arator-mint);
  stroke: #007552;
  stroke-width: 14;
  stroke-linejoin: round;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-5deg);
}

.site-footer .brand-mark {
  width: 44px;
  height: 41px;
}

.footer-bottom {
  padding-inline-end: 125px;
}

.site-header .platform-entry {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
  min-height: 42px;
}

.platform-entry .icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.desktop-nav .nav-link {
  position: relative;
}

.desktop-nav .nav-link::after {
  position: absolute;
  content: "";
  inset: auto 0 -7px;
  height: 2px;
  border-radius: 4px;
  background: #65bd9d;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--arator-motion-ease);
}

.desktop-nav .nav-link:is(:hover, :focus-visible, .active)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-platform-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007552;
  font-weight: 650;
}

.mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-line {
  display: block;
}

.home-hero h1 em {
  color: #c4f3e0;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brand-art {
  position: absolute;
  z-index: 0;
  top: 12%;
  right: max(7vw, calc((100vw - 1236px) / 2));
  width: clamp(250px, 32vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-brand-art::before {
  position: absolute;
  inset: -14%;
  content: "";
  background: radial-gradient(ellipse at center, #bdf5df26, transparent 65%);
}

.hero-brand-mark {
  position: relative;
  width: 74%;
  overflow: visible;
  filter: drop-shadow(0 0 16px #91e4c75a);
}

.hero-brand-mark path {
  fill: #b7f8db;
  fill-opacity: .105;
  stroke: #b8f4de;
  stroke-width: 6.5;
  stroke-linejoin: round;
}

.hero-brand-orbit {
  position: absolute;
  inset: 0 1%;
  border: 1px solid #b8f4de52;
  border-radius: 50%;
  transform: rotate(-28deg) scaleY(.73);
}

.hero-brand-orbit-inner {
  inset: 5% 7%;
  opacity: .55;
  border-style: dashed;
  transform: rotate(-28deg) scaleY(.81);
}

.hero-brand-glint {
  position: absolute;
  top: 24%;
  right: 8%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5f9e3;
  box-shadow: 0 0 13px #c5f9e3a0;
}

.hero-gallery {
  position: absolute;
  right: 0;
  bottom: 166px;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 6px 7px 6px 13px;
  color: #f6fff9;
  background: #003e30a6;
  border: 1px solid #cef3df3f;
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.hero-gallery-info {
  min-width: 100px;
  margin-right: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.hero-gallery-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  margin: 2px 0 -2px;
}

.hero-gallery-dots button {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 22px;
  padding: 5px 2px;
  cursor: pointer;
}

.hero-gallery-dots button span {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #ffffff58;
  overflow: hidden;
}

.hero-gallery-dots button[aria-pressed="true"] span {
  background: #a4edcf;
}

.hero-gallery-dots button span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.hero-gallery.is-playing .hero-gallery-dots button[aria-pressed="true"] span::after {
  animation: gallery-progress 8s linear both;
}

.gallery-control {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  color: inherit;
  border: 1px solid #ffffff35;
  border-radius: 9px;
  background: #ffffff0d;
  transition: background .25s ease, transform .32s var(--arator-motion-ease);
}

.gallery-control:hover {
  background: #ffffff27;
  transform: translateY(-2px);
}

.gallery-control:focus-visible,
.hero-gallery-dots button:focus-visible {
  outline-color: #d2f9e8;
}

.gallery-control .icon {
  width: 15px;
  height: 15px;
}

.gallery-play .icon-play,
.gallery-play.is-paused .icon-pause {
  display: none;
}

.gallery-play.is-paused .icon-play {
  display: block;
}

@keyframes gallery-progress {
  to { transform: scaleX(1); }
}

.journey-section {
  background: linear-gradient(160deg, #f7faf8 20%, #e6f4eb 100%);
}

.journey-section .section-heading > p {
  max-width: 270px;
  margin-block: 8px 0;
}

.journey {
  background: #fff;
  border: 1px solid #cfe4d8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px #004d360a;
}

.journey-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 8px;
  background: #ebf7ef;
}

.journey-tabs button {
  min-height: 48px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #31564a;
  font: inherit;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 600;
  cursor: pointer;
  transition: color .25s ease, background .3s ease, box-shadow .3s ease;
}

.journey-tabs button:is(:hover, :focus-visible) {
  background: #d8f0e4;
}

.journey-tabs button[aria-selected="true"] {
  background: #007552;
  color: #fff;
  box-shadow: 0 3px 11px #075d403a;
}

.journey-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: stretch;
}

.journey-image {
  min-height: 310px;
  overflow: hidden;
  background: #dfeee7;
}

.journey-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.journey-copy {
  align-self: center;
  padding: clamp(28px, 4vw, 58px);
}

.journey-copy h3 {
  font-size: clamp(25px, 3vw, 40px);
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 0;
}

.journey-copy p {
  margin: 16px 0 24px;
  color: #4f665c;
  font-size: 15px;
}

.page-intro,
.unit-hero,
.platform-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.interior-mark {
  position: absolute;
  z-index: -1;
  right: -31px;
  top: -18%;
  width: clamp(210px, 32vw, 460px);
  height: auto;
  pointer-events: none;
  opacity: .32;
}

.interior-mark path {
  fill: #dbf4e7;
  fill-opacity: .4;
  stroke: #86c9b0;
  stroke-width: 4.5;
  stroke-linejoin: round;
}

.platform-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 13px;
}

.platform-hero-actions .btn {
  flex-direction: row-reverse;
}

.process-grid {
  position: relative;
}

.process-grid::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #007552, #a1e6c9);
  transform-origin: left;
  transform: scaleX(var(--process-progress, 1));
  pointer-events: none;
}

.contact-channels {
  padding: 37px 0 10px;
}

.contact-channels h2 {
  font-size: clamp(24px, 3vw, 35px);
  letter-spacing: -.04em;
  margin: 0 0 17px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
}

.channel-card {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d7e8dd;
  border-radius: 14px;
  transition: transform .35s var(--arator-motion-ease), border-color .35s ease, background .35s ease;
}

.channel-card:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  background: #f0fbf5;
  border-color: #9acdb5;
}

.channel-card > .icon {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  padding: 7px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--arator-mint);
  color: #007552;
}

.channel-card > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel-card strong {
  font-size: 14px;
  color: #004d36;
}

.channel-card small {
  font-size: 11px;
  color: #4d685d;
}

.channel-arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #007552;
  transition: transform .3s var(--arator-motion-ease);
}

.channel-card:hover .channel-arrow {
  transform: translate(2px, -2px);
}

.contact-whatsapp {
  flex-direction: row-reverse;
}

.footer-channels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-top: 22px;
  padding-block: 16px 22px;
}

.footer-channels h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: #004d36;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #cce4d8;
  border-radius: 9px;
  font-size: 12px;
  color: #004d36;
  background: #f8fdf9;
  transition: background .28s ease, color .28s ease, transform .3s var(--arator-motion-ease);
}

.social-link .icon {
  width: 15px;
  height: 15px;
  color: #007552;
  transition: transform .3s var(--arator-motion-ease);
}

.social-link:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  background: #dff6ec;
  color: #004d36;
}

.social-link:hover .icon {
  transform: rotate(-9deg) scale(1.13);
}

.footer-grid .footer-direct {
  flex-direction: row-reverse;
  justify-content: flex-end;
  font-weight: 600;
  color: #006346;
}

.floating-whatsapp {
  background: #007552;
  box-shadow: 0 8px 25px #004d3637;
  isolation: isolate;
}

.floating-whatsapp::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border: 1px solid #6ed4ae;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.motion-rich .floating-whatsapp::after {
  animation: whatsapp-ring 2.5s 2.2s ease-out 3;
}

@keyframes whatsapp-ring {
  0% { opacity: .7; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(1.23); }
}

.motion-rich .hero-label,
.motion-rich .home-hero h1,
.motion-rich .hero-copy > p,
.motion-rich .hero-copy > .button-row,
.motion-rich .hero-bottom,
.motion-rich .chart-line {
  animation: none;
}

.motion-rich [data-motion-surface] {
  position: relative;
}

.motion-rich [data-motion-surface]::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(
    200px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    #8ce1bc38,
    transparent 80%
  );
}

.motion-rich [data-motion-surface]:hover::after {
  opacity: 1;
}

.motion-rich .mega-menu,
.motion-rich .mobile-menu,
.motion-rich .operation-panel,
.motion-rich [role="tabpanel"] {
  animation: none;
}

.contact-layout label:focus-within {
  color: #00664a;
}

.motion-reduced .hero-brand-art,
.motion-reduced .hero-brand-mark,
.motion-reduced .interior-mark {
  animation: none;
}

@media (max-width: 1100px) {
  .hero-brand-art {
    right: 5%;
    top: 16%;
    opacity: .75;
  }
  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 850px) {
  .hero-brand-art {
    top: 18%;
    right: -37px;
    width: 280px;
    opacity: .42;
  }
  .hero-gallery {
    bottom: 152px;
  }
}

@media (max-width: 700px) {
  .brand {
    gap: 6px;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
  }
  .site-header .platform-entry {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
    gap: 4px;
  }
  .site-header .platform-entry .icon {
    width: 13px;
    height: 13px;
  }
  .hero-brand-art {
    top: 3%;
    right: -26px;
    width: 200px;
    opacity: .4;
  }
  .hero-brand-mark path {
    stroke-width: 7.5;
  }
  .hero-gallery {
    position: relative;
    align-self: flex-start;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }
  .hero-gallery-info {
    min-width: 96px;
    font-size: 11px;
  }
  .gallery-control {
    min-width: 39px;
    min-height: 39px;
  }
  .journey-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .journey-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .journey-image img {
    height: 100%;
  }
  .journey-copy {
    padding: 25px 22px 28px;
  }
  .journey-tabs {
    padding: 5px;
  }
  .journey-tabs button {
    min-height: 42px;
    border-radius: 10px;
  }
  .contact-channels {
    padding-block: 25px 0;
  }
  [data-page="contacto"] .page-intro h1 {
    font-size: clamp(36px, 9.5vw, 50px);
    text-wrap: balance;
  }
  [data-page="contacto"] .page-intro h1 br {
    display: none;
  }
  .channel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .channel-card {
    padding: 14px;
  }
  .footer-channels {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .footer-bottom {
    padding-inline-end: 0;
  }
  .floating-whatsapp {
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
  }
  .floating-whatsapp > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .floating-whatsapp > .icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 365px) {
  .header-inner {
    gap: 6px;
  }
  .brand-title {
    font-size: 23px;
  }
  .site-header .platform-entry > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .site-header .platform-entry {
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery.is-playing .hero-gallery-dots button span::after,
  .floating-whatsapp::after {
    animation: none;
  }
}

@media print {
  .hero-brand-art,
  .hero-gallery,
  .interior-mark,
  .contact-channels {
    display: none;
  }
}
