* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 70px rgba(16, 17, 20, 0.16);
  backdrop-filter: blur(22px);
}

.logo-mark {
  display: grid;
  height: 48px;
  width: 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f31724, #a8050e);
  color: white;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 35px rgba(229, 9, 20, 0.34);
}

.brand-logo-wrap {
  display: grid;
  height: 52px;
  width: 70px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(229, 9, 20, 0.18);
  border-radius: 14px;
  background: #050505;
  box-shadow: 0 14px 35px rgba(229, 9, 20, 0.22);
}

.brand-logo {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 0.2rem;
}

.nav-link {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #27272a;
  font-size: 0.94rem;
  font-weight: 800;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(229, 9, 20, 0.1);
  color: #e50914;
  outline: none;
  transform: translateY(-1px);
}

.whatsapp-button,
.hero-cta,
.contact-whatsapp {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #17bd5b, #0a8f42);
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(16, 185, 86, 0.32);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.whatsapp-button {
  padding: 0.85rem 1.1rem;
}

.hero-cta,
.contact-whatsapp {
  padding: 1rem 1.35rem;
}

.whatsapp-button:hover,
.hero-cta:hover,
.contact-whatsapp:hover,
.whatsapp-button:focus-visible,
.hero-cta:focus-visible,
.contact-whatsapp:focus-visible {
  outline: none;
  filter: saturate(1.1);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(16, 185, 86, 0.42);
}

.mobile-toggle {
  display: grid;
  height: 46px;
  width: 46px;
  place-content: center;
  gap: 5px;
  border-radius: 14px;
  background: #101114;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 21px;
  border-radius: 999px;
  background: white;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  margin-top: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
  box-shadow: 0 20px 60px rgba(16, 17, 20, 0.18);
  backdrop-filter: blur(20px);
}

.mobile-menu a {
  display: flex;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: #18181b;
  font-weight: 850;
}

.mobile-menu a:not(.whatsapp-button):hover,
.mobile-menu a:not(.whatsapp-button):focus-visible {
  background: rgba(229, 9, 20, 0.1);
  color: #e50914;
  outline: none;
}

.header-hidden {
  transform: translateY(-125%);
}

.hero-section {
  background: #101114;
}

.hero-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(223, 241, 255, 0.36), transparent 25%),
    radial-gradient(circle at 78% 62%, rgba(229, 9, 20, 0.3), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.85rem;
  color: white;
  backdrop-filter: blur(12px);
}

.section-kicker {
  background: rgba(229, 9, 20, 0.1);
  padding: 0.45rem 0.8rem;
  color: #e50914;
  font-size: 0.78rem;
}

.hero-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem 1.35rem;
  color: white;
  font-weight: 900;
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, background-color 220ms ease;
}

.hero-secondary:hover,
.hero-secondary:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-card {
  display: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.hero-card img {
  height: 310px;
  width: 100%;
  object-fit: cover;
}

.mascot-card {
  background:
    radial-gradient(circle at 50% 34%, rgba(229, 9, 20, 0.24), transparent 34%),
    rgba(8, 8, 10, 0.72);
}

.mascot-card img {
  height: 360px;
  object-fit: contain;
  object-position: center bottom;
  padding: 1.25rem 1.25rem 0;
}

.hero-card-body {
  padding: 1.4rem;
  color: white;
}

.hero-card-body span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.9);
  padding: 0.42rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-card-body strong {
  display: block;
  margin-top: 1rem;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.12;
}

.hero-card-body p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.65;
}

.hero-metrics {
  margin-top: clamp(2rem, 6vw, 4rem);
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0.75rem;
  color: white;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 950;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: linear-gradient(180deg, #101114, #18181b);
  padding: 1.1rem 0 1.6rem;
}

.proof-item {
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 1.25rem;
  color: white;
  backdrop-filter: blur(16px);
  transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.proof-item:hover {
  border-color: rgba(229, 9, 20, 0.38);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.proof-item span {
  color: #e50914;
  font-size: 0.76rem;
  font-weight: 950;
}

.proof-item strong {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.1rem;
  font-weight: 950;
}

.proof-item p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.services-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 17, 20, 0.94), rgba(38, 38, 42, 0.9)),
    url("img/interior-perfumaria.jpeg") center/cover;
}

.services-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(229, 9, 20, 0.3), rgba(223, 241, 255, 0.12));
  pointer-events: none;
}

.services-band > * {
  position: relative;
  z-index: 1;
}

.service-card {
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.service-card:hover {
  border-color: rgba(229, 9, 20, 0.38);
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(229, 9, 20, 0.18);
}

.service-card svg {
  color: #e50914;
}

.service-card h3 {
  color: #101114;
  font-size: 1.45rem;
  font-weight: 950;
}

.service-card p {
  margin-top: 0.85rem;
  color: #52525b;
  font-size: 1rem;
  line-height: 1.75;
}

.mascot-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(229, 9, 20, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
}

.avatar-grid {
  display: grid;
  gap: 1rem;
}

.avatar-card {
  position: relative;
  display: grid;
  min-height: 210px;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(16, 17, 20, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6)),
    radial-gradient(circle at 16% 50%, rgba(229, 9, 20, 0.1), transparent 34%);
  box-shadow: 0 22px 70px rgba(16, 17, 20, 0.1);
  backdrop-filter: blur(18px);
}

.avatar-card img {
  height: 190px;
  width: 150px;
  object-fit: contain;
  object-position: center bottom;
  align-self: end;
  padding: 0.6rem 0.25rem 0;
}

.avatar-card div {
  padding: 1.25rem 1.25rem 1.25rem 0.25rem;
}

.avatar-card span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.1);
  padding: 0.4rem 0.65rem;
  color: #e50914;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.avatar-card strong {
  display: block;
  margin-top: 0.8rem;
  color: #101114;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.18;
}

.avatar-feature {
  min-height: 260px;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1fr);
  align-content: end;
  background:
    linear-gradient(135deg, rgba(16, 17, 20, 0.92), rgba(43, 43, 48, 0.92)),
    radial-gradient(circle at 22% 42%, rgba(229, 9, 20, 0.32), transparent 34%);
}

.avatar-feature img {
  height: 220px;
  width: 210px;
  padding-left: 0.55rem;
}

.avatar-feature strong {
  color: white;
  font-size: 1.28rem;
}

.avatar-feature div {
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  height: 300px;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e4e4e7;
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.12);
}

.gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  max-width: calc(100% - 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.62);
  padding: 0.55rem 0.85rem;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.contact-band {
  background:
    radial-gradient(circle at 10% 10%, rgba(223, 241, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f6f7fb, #ffffff);
}

.contact-panel,
.map-wrap,
.modal-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 80px rgba(16, 17, 20, 0.14);
  backdrop-filter: blur(22px);
}

.contact-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.contact-panel dt {
  color: #e50914;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-panel dd {
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
  color: #18181b;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-panel a:not(.contact-whatsapp) {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(229, 9, 20, 0.35);
  text-underline-offset: 4px;
}

.contact-whatsapp {
  margin-top: 2rem;
  width: 100%;
}

.map-wrap {
  min-height: 500px;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  height: 100%;
  min-height: 500px;
  width: 100%;
  border: 0;
}

.privacy-link {
  width: fit-content;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: #ffb4ba;
  outline: none;
}

.modal-card {
  padding: clamp(1.4rem, 4vw, 2rem);
}

.modal-close {
  display: grid;
  height: 42px;
  width: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: #101114;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  outline: none;
  background: #e50914;
  transform: rotate(90deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms ease, transform 750ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .avatar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .avatar-feature {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .hero-card {
    display: block;
  }

  .avatar-grid {
    grid-template-columns: 1.1fr 0.8fr 0.8fr;
  }

  .avatar-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 290px;
    text-align: center;
  }

  .avatar-card {
    grid-template-columns: 1fr;
    align-content: end;
    text-align: center;
  }

  .avatar-card img,
  .avatar-feature img {
    height: 168px;
    width: 100%;
    padding: 1rem 0.75rem 0;
  }

  .avatar-card div,
  .avatar-feature div {
    padding: 0 1rem 1.2rem;
  }

  .avatar-feature strong {
    font-size: 1.12rem;
  }

  .contact-panel,
  .map-wrap,
  .map-wrap iframe {
    min-height: 640px;
  }
}

@media (max-width: 640px) {
  .glass-panel {
    border-radius: 20px;
  }

  .logo-mark {
    height: 42px;
    width: 42px;
    font-size: 1.8rem;
  }

  .brand-logo-wrap {
    height: 44px;
    width: 58px;
  }

  .hero-section {
    min-height: 92vh;
  }

  .hero-metrics span {
    font-size: 0.78rem;
  }

  .avatar-card,
  .avatar-feature {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar-card img,
  .avatar-feature img {
    height: 178px;
    width: 100%;
    padding: 0.8rem 0.6rem 0;
  }

  .avatar-card div,
  .avatar-feature div {
    padding: 0 1rem 1.1rem;
  }

  .gallery-item,
  .gallery-item img {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
