:root {
  --font-livvic: 'Livvic';
  color-scheme: light;
  --color-primary: #d86b6b;
  --color-background: #fef7f2;
  --color-text: #735c5c;
  --color-surface: #ffffff;
  --color-on-primary: #ffffff;
  --color-primary-soft: rgb(216 107 107 / 14%);
  --color-primary-faint: rgb(216 107 107 / 8%);
  --content-max-width: 42rem;
  --page-gutter: clamp(1rem, 4vw, 2rem);
  --radius-lg: 1.5rem;
  --shadow-card: 0 0.75rem 2rem rgb(115 92 92 / 14%);
  --shadow-cta: 0 0.75rem 1.75rem rgb(216 107 107 / 24%);
  --transition-fast: 160ms ease;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 8rem, rgb(216 107 107 / 8%) 0 15rem, transparent 15.1rem),
    radial-gradient(circle at 5% 8%, rgb(216 107 107 / 7%) 0 5rem, transparent 5.1rem),
    radial-gradient(circle at 95% 19%, rgb(216 107 107 / 5%) 0 7rem, transparent 7.1rem),
    var(--color-background);
  color: var(--color-text);
  font-family: var(--font-livvic), system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  text-rendering: optimizeLegibility;
}

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

.page-shell {
  display: flex;
  width: min(100%, var(--content-max-width));
  min-height: 100vh;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 3rem) var(--page-gutter) 1.5rem;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.25rem);
}

.hero-profile {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-frame {
  display: grid;
  width: clamp(15rem, 68vw, 23rem);
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(216 107 107 / 18%);
  border-radius: 51% 49% 47% 53% / 48% 51% 49% 52%;
  background:
    radial-gradient(circle at 62% 38%, rgb(255 255 255 / 72%) 0 22%, transparent 22.5%),
    radial-gradient(circle at 50% 50%, rgb(216 107 107 / 13%) 0 66%, transparent 66.5%);
  box-shadow: inset 0 0 0 0.45rem rgb(254 247 242 / 78%);
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
}

.identity {
  width: 100%;
  margin-top: clamp(1rem, 4vw, 1.4rem);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.95rem, 8vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.08;
  text-transform: uppercase;
}

.profession {
  margin-top: 0.35rem;
  color: var(--color-primary);
  font-size: clamp(1.1rem, 4.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-transform: uppercase;
}

.identity-separator,
.footer-decoration {
  display: flex;
  width: min(18rem, 78%);
  margin: 0.75rem auto 0.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--color-primary);
}

.identity-separator span,
.footer-decoration span {
  height: 1px;
  flex: 1;
  background: var(--color-primary);
}

.identity-separator b,
.footer-decoration b {
  font-size: 1rem;
  line-height: 1;
}

.registration {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
}

.professional-highlight {
  display: flex;
  margin-top: 0.55rem;
  flex-direction: column;
  color: var(--color-primary);
  font-size: clamp(1.02rem, 4.3vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-list {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(1rem, 4vw, 1.45rem);
  flex-direction: column;
  gap: 0.55rem;
  font-style: normal;
}

.contact-item {
  display: flex;
  min-height: 44px;
  padding: 0.2rem 0.4rem;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.75rem;
  font-size: clamp(0.95rem, 3.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.25;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.contact-icon {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.contact-icon svg {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
}

.whatsapp-cta {
  display: flex;
  width: 100%;
  min-height: 7.2rem;
  padding: 1rem clamp(0.8rem, 4vw, 1.5rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  box-shadow: var(--shadow-cta);
  color: var(--color-on-primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.whatsapp-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 2.5vw, 0.85rem);
  white-space: nowrap;
}

.whatsapp-headline strong {
  font-size: clamp(0.94rem, 4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.whatsapp-mark {
  width: clamp(2.15rem, 10vw, 2.75rem);
  height: clamp(2.15rem, 10vw, 2.75rem);
  flex: 0 0 auto;
  color: currentColor;
}

.whatsapp-support {
  margin-top: 0.3rem;
  font-size: clamp(0.93rem, 3.7vw, 1.08rem);
  line-height: 1.35;
}

.action-card {
  display: flex;
  width: 100%;
  padding: clamp(1.25rem, 5vw, 2rem);
  flex-direction: column;
  align-items: center;
  border: 1px solid rgb(216 107 107 / 10%);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.bau-logo {
  display: block;
  width: min(100%, 32rem);
  height: auto;
  margin-bottom: clamp(0.8rem, 3vw, 1.1rem);
}

.action-card h2 {
  font-size: clamp(1.25rem, 5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.action-card > p,
.location-address {
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 3.6vw, 1.075rem);
  line-height: 1.5;
}

.secondary-button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 1rem;
  padding: 0.65rem clamp(1rem, 6vw, 2rem);
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border: 2px solid var(--color-primary);
  border-radius: 0.85rem;
  color: var(--color-primary);
  font-size: clamp(0.92rem, 3.8vw, 1.125rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.button-arrow {
  display: block;
  width: 0.58rem;
  height: 0.58rem;
  border-top: 0.14rem solid currentColor;
  border-right: 0.14rem solid currentColor;
  transform: rotate(45deg);
}

.map-visual {
  position: relative;
  width: clamp(6.5rem, 30vw, 8rem);
  height: clamp(5.25rem, 24vw, 6.5rem);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-primary-faint);
}

.map-road {
  position: absolute;
  height: 0.42rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
}

.road-one {
  top: 20%;
  left: -10%;
  width: 120%;
  transform: rotate(-12deg);
}

.road-two {
  top: 58%;
  left: -8%;
  width: 116%;
  transform: rotate(15deg);
}

.road-three {
  top: 0;
  left: 27%;
  width: 0.4rem;
  height: 110%;
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  box-shadow: 0 0.3rem 0.8rem rgb(115 92 92 / 18%);
  transform: translateX(-50%) rotate(-45deg);
}

.map-pin i {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-surface);
}

.location-address {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.page-footer {
  width: 100%;
  padding-top: 0.2rem;
  text-align: center;
}

.footer-decoration {
  width: 100%;
  margin-block: 0 0.35rem;
  gap: 0.65rem;
}

.footer-decoration b {
  font-size: 0.8rem;
}

.page-footer p {
  font-size: clamp(0.875rem, 3vw, 1rem);
  line-height: 1.4;
}

a:focus-visible {
  outline: 3px solid var(--color-text);
  outline-offset: 4px;
}

@media (hover: hover) {
  .contact-item:hover {
    background: var(--color-primary-faint);
    transform: translateY(-1px);
  }

  .whatsapp-cta:hover {
    box-shadow: 0 1rem 2rem rgb(216 107 107 / 28%);
    filter: brightness(0.97);
    transform: translateY(-2px);
  }

  .secondary-button:hover {
    background: var(--color-primary-faint);
    box-shadow: 0 0.4rem 1rem rgb(216 107 107 / 12%);
    transform: translateY(-2px);
  }
}

.contact-item:active,
.whatsapp-cta:active,
.secondary-button:active {
  transform: scale(0.99);
}

@media (min-width: 480px) {
  .page-shell {
    gap: 1.2rem;
  }

  .action-card,
  .whatsapp-cta {
    border-radius: 1.35rem;
  }
}

@media (max-width: 350px) {
  .page-shell {
    --page-gutter: 1rem;
  }

  .whatsapp-cta {
    min-height: 6.75rem;
  }

  .whatsapp-headline {
    gap: 0.42rem;
  }

  .whatsapp-headline strong {
    font-size: 0.88rem;
    letter-spacing: 0;
  }

  .whatsapp-mark {
    width: 2rem;
    height: 2rem;
  }

  .secondary-button {
    gap: 0.55rem;
    padding-inline: 0.9rem;
  }
}

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