@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --plum: #842d73;
  --pink: #ee316b;
  --amber: #ffb137;
  --cream: #fbdfb6;
  --paper: #fffaf4;
  --white: #ffffff;
  --ink: #542049;
  --muted: #76536f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--plum);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  background: var(--plum);
}

body::before {
  position: fixed;
  inset: -56px;
  z-index: -2;
  content: "";
  background-image: url("../assets/perfil.png");
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(1.15) brightness(0.72);
  transform: scale(1.12);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 14%, rgb(255 177 55 / 0.42), transparent 27%),
    radial-gradient(circle at 88% 76%, rgb(238 49 107 / 0.5), transparent 30%),
    linear-gradient(145deg, rgb(132 45 115 / 0.72), rgb(84 32 73 / 0.88));
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  padding: 32px 18px;
}

.bio-card {
  width: min(100%, 650px);
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 58%, var(--cream) 100%);
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 42px;
  box-shadow:
    0 32px 70px rgb(65 15 55 / 0.42),
    0 8px 22px rgb(65 15 55 / 0.3),
    inset 0 0 0 1px rgb(132 45 115 / 0.06);
}

.hero {
  position: relative;
  height: clamp(360px, 72vw, 450px);
  overflow: visible;
  background: var(--cream);
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgb(255 250 244 / 0) 48%,
    rgb(255 250 244 / 0.16) 65%,
    rgb(255 250 244 / 0.82) 91%,
    var(--paper) 100%
  );
}

.share-button {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 4;
  width: 56px;
  height: 56px;
  padding: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: linear-gradient(145deg, var(--pink), var(--plum));
  border: 2px solid rgb(255 255 255 / 0.9);
  border-radius: 50%;
  box-shadow:
    0 8px 20px rgb(84 32 73 / 0.35),
    0 0 0 4px rgb(251 223 182 / 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.share-button:hover {
  box-shadow:
    0 11px 24px rgb(84 32 73 / 0.42),
    0 0 0 6px rgb(255 177 55 / 0.28);
  transform: translateY(-2px);
}

.share-button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.share-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo {
  position: absolute;
  left: 50%;
  bottom: -42px;
  z-index: 3;
  width: clamp(108px, 23vw, 136px);
  aspect-ratio: 1;
  padding: 5px;
  object-fit: cover;
  background: var(--white);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow:
    0 12px 28px rgb(84 32 73 / 0.28),
    0 0 0 3px rgb(238 49 107 / 0.18);
  transform: translateX(-50%);
}

.identity {
  position: relative;
  padding: 52px 24px 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, rgb(255 250 244 / 0.3) 100%);
}

.identity::after {
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  display: block;
  content: "";
  background: linear-gradient(90deg, var(--plum), var(--pink), var(--amber));
  border-radius: 999px;
}

.identity h1 {
  margin: 0;
  color: var(--plum);
  font-size: clamp(2.15rem, 8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.identity p {
  margin: 11px 0 0;
  color: var(--pink);
  font-size: clamp(1rem, 3.6vw, 1.22rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}

.service-section {
  padding: 0 28px 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 166px;
  padding: 20px 14px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 92% 8%, rgb(255 177 55 / 0.19), transparent 31%),
    linear-gradient(145deg, var(--white), #fff7ef);
  border: 1px solid rgb(132 45 115 / 0.22);
  border-radius: 21px;
  box-shadow:
    0 8px 18px rgb(132 45 115 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.95);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--plum), var(--pink), var(--amber));
}

.service-card:hover {
  border-color: var(--pink);
  box-shadow:
    0 13px 26px rgb(132 45 115 / 0.17),
    0 0 0 3px rgb(238 49 107 / 0.08);
  transform: translateY(-3px);
}

.service-card:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 11px;
  color: var(--plum);
  filter: drop-shadow(0 3px 3px rgb(132 45 115 / 0.12));
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card strong {
  color: var(--plum);
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
}

.service-card > span:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(0.82rem, 2.7vw, 0.9rem);
  font-weight: 400;
  line-height: 1.3;
}

.contact-grid {
  padding: 0 28px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.contact-button {
  min-height: 70px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--plum);
  text-align: center;
  background: rgb(255 255 255 / 0.72);
  border: 1px solid rgb(132 45 115 / 0.2);
  border-radius: 18px;
  box-shadow:
    0 7px 16px rgb(132 45 115 / 0.08),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
  font-size: clamp(0.92rem, 3.1vw, 1rem);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.contact-button:hover {
  border-color: var(--pink);
  box-shadow: 0 10px 22px rgb(132 45 115 / 0.14);
  transform: translateY(-2px);
}

.contact-button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.contact-static {
  cursor: default;
}

.contact-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: var(--pink);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  margin: 0 28px 28px;
  padding: 18px 16px;
  color: var(--muted);
  text-align: center;
  background: rgb(255 250 244 / 0.7);
  border: 1px solid rgb(132 45 115 / 0.18);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.82);
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.75rem, 2.5vw, 0.82rem);
  line-height: 1.55;
}

.site-footer a {
  color: var(--plum);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  color: var(--white);
  pointer-events: none;
  background: rgb(84 32 73 / 0.96);
  border: 1px solid var(--amber);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(84 32 73 / 0.32);
  font-size: 0.88rem;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notice-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.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;
}

@media (max-width: 540px) {
  .site-shell {
    padding: 0;
  }

  .bio-card {
    border: 0;
    border-radius: 0;
  }

  .hero {
    height: 380px;
  }

  .identity {
    padding: 50px 16px 18px;
  }

  .service-section {
    padding: 0 14px 24px;
  }

  .share-button {
    top: 18px;
    right: 16px;
    width: 52px;
    height: 52px;
    padding: 13px;
  }

  .service-grid {
    gap: 11px;
  }

  .service-card {
    min-height: 156px;
    padding: 18px 9px 14px;
    border-radius: 17px;
  }

  .service-icon {
    width: 47px;
    height: 47px;
  }

  .contact-grid {
    padding: 0 14px 16px;
    gap: 11px;
  }

  .contact-button {
    min-height: 64px;
    padding: 12px 9px;
    gap: 8px;
    border-radius: 16px;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
  }

  .site-footer {
    margin: 0 14px 18px;
    padding: 16px 12px;
    border-radius: 16px;
  }
}

@media (max-width: 370px) {
  .hero {
    height: 350px;
  }

  .service-card {
    min-height: 150px;
  }

  .service-card strong {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
