:root {
  --ink: #121812;
  --muted: #687067;
  --paper: #ffffff;
  --white: #ffffff;
  --green: #148843;
  --green-dark: #0f6b35;
  --yellow: #ffd438;
  --line: #dfe4d9;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0 72%, var(--yellow) 72%);
}

.contact-page,
footer {
  width: min(100% - 36px, 420px);
  margin-inline: auto;
}

.contact-page {
  padding: max(24px, env(safe-area-inset-top)) 0 14px;
}

.profile {
  text-align: center;
}

.brand-mark {
  position: relative;
  width: 86px;
  aspect-ratio: 1;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--line),
    0 8px 20px rgba(18, 24, 18, 0.1);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1 {
  margin: 0;
  font-size: clamp(30px, 9vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.slogan {
  max-width: 310px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.whatsapp-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green);
  box-shadow: 7px 7px 0 var(--yellow);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.whatsapp-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -45% auto -45% -20%;
  width: 34%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-180%) skewX(-18deg);
  animation: card-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-card > * {
  position: relative;
  z-index: 1;
}

@keyframes card-shine {
  0% {
    transform: translateX(-180%) skewX(-18deg);
  }
  38%,
  100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

.whatsapp-card:hover {
  background: var(--green-dark);
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--yellow);
}
.whatsapp-card:active {
  transform: translate(4px, 4px);
  box-shadow: 3px 3px 0 var(--yellow);
}
.whatsapp-card:focus-visible {
  outline: 4px solid rgba(255, 212, 56, 0.8);
  outline-offset: 4px;
}

.whatsapp-icon {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--white);
  transform-origin: center;
  animation: whatsapp-nudge 1s ease-in-out infinite;
}

@keyframes whatsapp-nudge {
  0%,
  78%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  83% {
    transform: translateY(-2px) rotate(-8deg) scale(1.06);
  }
  88% {
    transform: translateY(0) rotate(7deg) scale(1.03);
  }
  93% {
    transform: translateY(-1px) rotate(-4deg) scale(1.05);
  }
}

.whatsapp-icon svg {
  width: 28px;
  fill: currentColor;
}
.whatsapp-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}
.whatsapp-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.whatsapp-copy strong {
  font-size: 17px;
  line-height: 1.15;
}
.whatsapp-copy > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}
.arrow {
  font-size: 25px;
  font-weight: 700;
}

.services {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.section-heading h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.section-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.service-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.service-tags li {
  display: grid;
  min-height: 35px;
  padding: 5px 7px;
  place-items: center;
  border: 1px solid #cfd6c9;
  border-radius: 999px;
  background: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.service-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 12px;
  margin-top: auto;
  padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 136, 67, 0.12);
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(20, 136, 67, 0.12);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 6px rgba(20, 136, 67, 0.04);
  }
}

footer address {
  grid-column: 1 / -1;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.4;
}

@media (max-width: 360px) {
  .contact-page,
  footer {
    width: min(100% - 28px, 420px);
  }
  .whatsapp-card {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 11px 12px;
  }
  .whatsapp-icon {
    width: 44px;
  }
}

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