/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.monogram {
  width: auto;
  height: 40px;
  overflow: visible;
}

.monogram text {
  font-family: var(--font-display);
  font-weight: 400;
  fill: var(--crudo);
}

.monogram__p {
  font-size: 100px;
}

.monogram__s {
  font-size: 105px;
  stroke: var(--granate-deep);
  stroke-width: 4px;
  paint-order: stroke fill;
}

/* Botones y píldoras */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn--light {
  background: var(--crudo);
  color: var(--granate);
  box-shadow: var(--shadow-pill);
}

.btn--sm {
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.86rem;
}

.btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid var(--granate);
  border-right-color: transparent;
  border-radius: 50%;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, var(--granate-soft) 0%, var(--granate) 55%, var(--granate-deep) 100%);
  color: var(--on-granate);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-pill), inset 0 1px 0 var(--on-granate-line);
}

/* Etiquetas */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--vino);
}

.kicker::before,
.kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kicker--light {
  color: var(--crudo-deep);
}

/* Estrellas con volumen y sombra real */
.star {
  position: absolute;
  z-index: 0;
  aspect-ratio: 1;
  filter: var(--shadow-star);
  transform: rotate(var(--rot, 0deg));
  pointer-events: none;
}

.star::before,
.star::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--shape-star) center / contain no-repeat;
  mask: var(--shape-star) center / contain no-repeat;
}

.star::before {
  background: radial-gradient(circle at 34% 26%, var(--granate-soft) 0%, var(--granate) 42%, var(--relieve) 100%);
}

.star::after {
  background: linear-gradient(128deg, transparent 30%, var(--halo) 44%, transparent 56%);
  mix-blend-mode: screen;
}

.star--tl {
  --rot: -16deg;
  top: 9%;
  left: -6%;
  width: clamp(150px, 19vw, 280px);
}

.star--tr {
  --rot: 14deg;
  top: 7%;
  right: 7%;
  width: clamp(54px, 7vw, 108px);
}

.star--r {
  --rot: 22deg;
  top: 46%;
  right: -7%;
  width: clamp(170px, 23vw, 330px);
}

.star--bl {
  --rot: -26deg;
  bottom: 5%;
  left: 7%;
  width: clamp(96px, 12vw, 180px);
}

.service--mirror .star--tl {
  left: auto;
  right: -6%;
  --rot: 18deg;
}

.service--mirror .star--tr {
  right: auto;
  left: 7%;
  --rot: -12deg;
}

.service--mirror .star--r {
  right: auto;
  left: -7%;
  --rot: -20deg;
}

.service--mirror .star--bl {
  left: auto;
  right: 8%;
  --rot: 24deg;
}

.hero__star--1 {
  --rot: -16deg;
  top: 12%;
  left: -5%;
  width: clamp(160px, 22vw, 320px);
}

.hero__star--2 {
  --rot: 14deg;
  top: 13%;
  right: 9%;
  width: clamp(54px, 6vw, 96px);
}

.hero__star--3 {
  --rot: 20deg;
  top: 48%;
  right: -6%;
  width: clamp(170px, 24vw, 350px);
}

.hero__star--4 {
  --rot: -24deg;
  bottom: 12%;
  left: 14%;
  width: clamp(90px, 11vw, 170px);
}

/* Sello con el monograma real */
.seal {
  width: 92px;
  height: 120px;
  margin: 0 auto 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-seal), inset 0 0 0 1px var(--on-granate-line);
}

/* Portada */
.hero__tagline {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-granate-muted);
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-granate-muted);
}

.scroll-hint__line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--on-granate-line);
}

.scroll-hint__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--crudo);
  transform: scaleY(0);
}

/* Servicios */
.service__title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.service__title em {
  display: block;
  font-style: normal;
  color: var(--vino);
}

.service__intro {
  max-width: 600px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: var(--ink-muted);
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.offer .pill {
  margin-bottom: 8px;
}

.offer__text {
  max-width: 300px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.offer__subtitle {
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--vino);
}

.offer__items {
  max-width: 340px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--ink);
}

.offer__items span {
  padding: 0.18em 0.5em;
  border-radius: 6px;
  background: var(--label-bg);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.service__tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: clamp(56px, 8vw, 88px);
  font-weight: 600;
  font-size: 0.76rem;
  line-height: 1.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Formulario */
.inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 520px;
  padding: 6px;
  border: 1px solid var(--on-granate-line);
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-soft);
}

.inline-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--on-granate);
}

.inline-form input::placeholder {
  color: var(--on-granate-muted);
  opacity: 1;
}

.inline-form input:focus {
  outline: none;
}

.inline-form:focus-within {
  border-color: var(--crudo-deep);
  box-shadow: 0 0 0 5px var(--halo), var(--shadow-soft);
}

.inline-form.is-invalid {
  border-color: var(--crudo);
  box-shadow: 0 0 0 5px var(--halo);
}

/* Contacto */
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--crudo);
  text-shadow: 0 6px 24px var(--shade);
}

.contact__lead {
  max-width: 520px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: var(--on-granate-muted);
}

.contact__mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin: 36px 0 30px;
}

.contact__copy {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--on-granate-line);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-granate-muted);
}

.contact__mail {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.2;
  color: var(--crudo);
  overflow-wrap: anywhere;
}

.contact__mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--on-granate-line);
}

.contact__social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--on-granate-line);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--on-granate-muted);
}

.contact__star {
  z-index: -1;
}

.contact__star--a {
  --rot: -18deg;
  top: 14%;
  left: -4%;
  width: clamp(130px, 17vw, 250px);
}

.contact__star--b {
  --rot: 20deg;
  right: -5%;
  bottom: 10%;
  width: clamp(150px, 20vw, 300px);
}

/* Footer */
.footer__brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crudo);
}

.footer__handle {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.footer__legal {
  justify-self: end;
  font-size: 0.8rem;
  color: var(--on-granate-muted);
}

/* Aviso */
.toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(92vw, 520px);
  padding: 12px 22px 12px 12px;
  border-radius: var(--radius-pill);
  background: var(--crudo);
  color: var(--granate);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 160%);
  cursor: pointer;
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.toast__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--granate);
  color: var(--crudo);
  font-family: var(--font-symbol);
  font-weight: 700;
}

.toast__text {
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.toast[data-tone="error"] .toast__icon {
  background: var(--vino);
  font-family: var(--font-body);
}

/* Responsive */
@media (orientation: portrait) {
  .hero__star--1 {
    top: 9%;
    left: -12%;
    width: 30vw;
  }

  .hero__star--2 {
    top: 11%;
    right: 7%;
    width: 11vw;
  }

  .hero__star--3 {
    top: 54%;
    right: -13%;
    width: 33vw;
  }

  .hero__star--4 {
    bottom: 20%;
    left: -4%;
    width: 21vw;
  }
}

@media (max-width: 900px) {
  .hero__bar {
    justify-content: center;
    text-align: center;
  }

  .hero__tagline {
    max-width: 30em;
    line-height: 2;
  }

  .scroll-hint {
    display: none;
  }

  .footer__legal {
    justify-self: center;
  }

  .star--tl,
  .service--mirror .star--tl {
    top: 3%;
  }

  .star--r,
  .service--mirror .star--r {
    top: 58%;
  }
}

@media (max-width: 500px) {
  .hero__tagline {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  .star--tl,
  .service--mirror .star--tl {
    width: 120px;
  }

  .star--r,
  .service--mirror .star--r {
    width: 150px;
  }

  .star--tr,
  .service--mirror .star--tr {
    top: 4%;
  }

  .inline-form {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: var(--radius);
  }

  .inline-form input {
    height: 50px;
    padding: 0 14px;
    text-align: center;
  }

  .inline-form .btn {
    width: 100%;
  }

  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius);
  }
}
