/* Premium design refinement: shared branding and existing interactions retained. */
:root {
  --anchor-offset: 112px;
}
html {
  scroll-padding-top: var(--anchor-offset);
}
section[id],
article[id],
#seo-cards,
#main {
  scroll-margin-top: var(--anchor-offset) !important;
}
html {
  scroll-padding-top: 0;
}
.header {
  position: sticky;
  top: 0;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  transition:
    box-shadow 0.3s,
    background 0.3s;
  z-index: 50;
}
.header.is-scrolled {
  background: #fffffff2;
  box-shadow: 0 8px 32px #36102c12;
}
.header-inner {
  min-height: 96px;
  gap: 24px;
}
.brand {
  width: 180px;
}
#navigation {
  gap: 24px;
  justify-content: space-between;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px;
  border: 1px solid #e8dce9;
  border-radius: 99px;
  background: linear-gradient(120deg, #faf4fb, #f4eef6);
  margin-inline: auto;
  box-shadow: inset 0 1px 0 #fff;
}
.nav-pill a {
  font-size: 11px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 99px;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.nav-pill a:hover {
  background: #ead8ea;
  color: #9f0a84;
}
.nav-pill a[aria-current] {
  background: #c609a0;
  color: #fff;
  box-shadow: 0 4px 14px #ba0c9125;
}
.header-cta {
  margin: 0;
  min-height: 46px;
  padding: 12px 20px;
}
.hero {
  position: relative;
  margin: 16px 24px 24px;
  border: 1px solid #ead9ef;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 65%, #f3d6f0, transparent 65%),
    linear-gradient(140deg, #fff, #fcf5fd);
  isolation: isolate;
}
.hero::before,
.web-section::before {
  content: "";
  position: absolute;
  width: 760px;
  aspect-ratio: 1;
  left: 50%;
  top: 32%;
  transform: translateX(-50%);
  border: 1px solid #cf39bc35;
  border-radius: 50%;
  box-shadow:
    0 0 90px #d62cb31a,
    inset 0 0 80px #b64be51a;
  pointer-events: none;
  z-index: -1;
  animation: halo-breathe 9s ease-in-out infinite alternate;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 58px;
  gap: 20px;
}
.hero-copy {
  text-align: center;
  padding: 0;
  max-width: 900px;
}
.hero-copy .eyebrow {
  justify-content: center;
}
.hero-copy .eyebrow span {
  width: 50px;
}
.hero h1 {
  font-size: clamp(58px, 6.5vw, 94px);
  line-height: 1;
  letter-spacing: -5px;
  margin-bottom: 24px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 26px;
}
.hero-actions {
  justify-content: center;
}
.hero-art {
  width: min(680px, 100%);
  margin: 0;
  align-self: center;
  padding: 12px 0 22px;
}
.hero-art img {
  animation: gentle-float 8s ease-in-out infinite;
}
.chapter {
  right: -18%;
  top: 20%;
}
.chapter strong {
  font-size: 110px;
}
.ranking-note {
  right: 0;
  bottom: 5%;
  font-size: 12px;
  padding: 12px 17px;
}
.ranking-note span {
  width: 34px;
  height: 34px;
  right: -10px;
  top: -13px;
}
.web-section {
  position: relative;
  isolation: isolate;
  padding-top: 64px;
  background:
    radial-gradient(ellipse at 50% 75%, #633353, transparent 65%), #1e0c25;
}
.web-section::before {
  top: 25%;
  width: 850px;
  border-color: #e766c940;
  box-shadow:
    0 0 100px #b72e9d22,
    inset 0 0 80px #b64be51a;
}
.web-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.web-copy {
  text-align: center;
  width: 100%;
  padding: 0;
}
.web-copy .eyebrow {
  justify-content: center;
}
.web-copy h2 {
  font-size: 66px;
}
.web-copy h2 br {
  display: none;
}
.web-description {
  max-width: 600px;
  margin: 20px auto 32px;
  font-size: 16px;
}
.web-services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto 28px;
  text-align: left;
}
.web-services li {
  padding: 18px;
  border: 1px solid #ffffff16;
  border-radius: 16px;
  background: #ffffff05;
}
.web-services p {
  font-size: 12px;
}
.web-art {
  width: min(950px, 100%);
  margin: 0;
  align-self: center;
  animation: gentle-float 10s ease-in-out infinite;
}
.web-details-content {
  position: relative;
}
.footer .footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-phone svg {
  color: #e34fbe;
  flex-shrink: 0;
}
.seo-card,
.advantage-card {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.button .arrow-icon {
  transition: transform 0.25s;
}
.button:hover .arrow-icon {
  transform: translateX(3px);
}
.button:active {
  transform: translateY(0);
}
@media (hover: hover) {
  .seo-card:hover,
  .advantage-card:hover {
    transform: translateY(-4px);
    border-color: #da9bcd;
    box-shadow: 0 12px 30px #9d258b14;
  }
}
.reveal-in {
  animation: reveal-up 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-up {
  from {
    opacity: 0.35;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes halo-breathe {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 16px;
  }
  .brand {
    width: 145px;
  }
  .nav-pill a {
    padding: 12px 10px;
    font-size: 10px;
  }
  #navigation {
    gap: 12px;
  }
  .header-cta {
    font-size: 10px;
    padding: 12px;
  }
  .hero .chapter {
    right: -8%;
  }
  .web-services {
    gap: 12px;
  }
  .web-services li {
    padding: 14px;
    gap: 10px;
  }
}
@media (max-width: 950px) {
  :root {
    --anchor-offset: 92px;
  }
  .header-inner {
    min-height: 76px;
  }
  .brand {
    width: 165px;
  }
  #navigation {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
    padding: 16px 30px 22px;
    border-bottom: 1px solid #ead9ec;
    background: #fffffff8;
    max-height: calc(100dvh - 78px);
    overflow: auto;
  }
  #navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-pill {
    flex-direction: column;
    border-radius: 20px;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }
  .nav-pill a {
    font-size: 14px;
    padding: 13px 18px;
  }
  .header-cta {
    align-self: stretch;
    font-size: 12px;
    margin-top: 4px;
  }
  .hero-grid {
    padding-top: 42px;
  }
  .hero .chapter {
    display: none;
  }
  .web-copy h2 {
    font-size: 52px;
  }
  .web-services {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .web-services li {
    padding: 16px;
  }
  .web-services p {
    max-width: none;
  }
  .web-art {
    max-width: 700px;
  }
}
@media (max-width: 700px) {
  .hero {
    margin: 10px 12px 16px;
    border-radius: 24px;
  }
  .hero-grid {
    width: calc(100% - 32px);
    padding-top: 32px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(43px, 10.8vw, 68px);
    letter-spacing: -2.4px;
    line-height: 1.04;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
    gap: 7px;
  }
  .hero-copy .eyebrow span {
    width: 22px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 16px;
  }
  .hero-art {
    padding: 0 0 48px;
  }
  .ranking-note {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    padding: 10px 12px;
  }
  .hero::before {
    width: 440px;
    top: 40%;
  }
  .web-section {
    padding-top: 42px;
  }
  .web-copy h2 {
    font-size: 42px;
    letter-spacing: -2px;
  }
  .web-copy h2 br {
    display: block;
  }
  .web-description {
    font-size: 14px;
  }
  .web-copy .eyebrow {
    font-size: 9px;
  }
  .web-services {
    text-align: left;
    gap: 12px;
  }
  .web-services p {
    font-size: 12px;
  }
  .web-art {
    width: 100%;
    animation: none;
  }
  .web-layout {
    gap: 24px;
  }
  .web-section::before {
    width: 460px;
    top: 50%;
  }
  .hero-art img {
    animation: none;
  }
  .hero::before,
  .web-section::before {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
/* Final contact and footer refinements. */
.whatsapp-float {
  position: fixed;
  left: 10px;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #c70c9f, #76146d);
  color: #fff;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  z-index: 45;
  box-shadow: 0 6px 22px #48123d35;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #b9149950;
}
.whatsapp-float:focus-visible {
  outline: 3px solid #da6dc5;
  outline-offset: 3px;
}
.footer-bottom {
  justify-content: center;
  text-align: center;
  padding-bottom: 30px;
}
.footer-bottom p {
  width: 100%;
  line-height: 1.8;
}
.developer-credit {
  color: #ee60cc;
  font-weight: 600;
}
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consultation-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}
.nav-pill a {
  transition:
    background 0.12s,
    color 0.12s,
    box-shadow 0.12s;
}
@media (max-width: 950px) {
  .whatsapp-float {
    left: 6px;
    width: 32px;
    height: 32px;
    bottom: 12px;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 700px) {
  .whatsapp-float {
    left: 10px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
  .footer-bottom {
    align-items: center;
    padding-bottom: 76px;
  }
  .credit {
    display: block;
  }
}
html {
  scroll-padding-bottom: 76px;
}
