:root {
  --bg: #eef1e5;
  --dark-green: #285238;
  --light-green: #a3c94a;
  --orange: #f0842f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  color: var(--dark-green);
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vh, 3.5rem);
  padding: 6vh 1.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 100;
}

.whatsapp-float svg {
  width: 55%;
  height: 55%;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.site-footer {
  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  color: var(--light-green);
  padding: 1rem 1.5rem 1.5rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Brand ---------- */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-wrap {
  position: relative;
  width: clamp(240px, 34vw, 420px);
  aspect-ratio: 1080 / 561;
  margin: 0 auto;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
}

.eye-socket {
  position: absolute;
  left: 36.204%;
  top: 26.381%;
  width: 6.852%;
  height: 13.19%;
  transform: translate(-50%, -50%);
}

.eye-wink {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #b3c840;
  transform-origin: center;
}

.eye-wink.is-winking {
  animation: wink 0.45s ease-in-out;
}

@keyframes wink {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.12); }
}

.tagline {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

.tagline--main {
  color: var(--dark-green);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  margin-top: 0.75rem;
}

.tagline--sub {
  color: var(--light-green);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  margin-top: 0.35rem;
  max-width: 32rem;
  margin-inline: auto;
}

.tagline-sep {
  opacity: 0.6;
  margin: 0 0.15em;
}

.tagline-link {
  color: inherit;
  text-decoration: underline;
}

.tagline-link:hover {
  text-decoration: none;
}

/* ---------- Social buttons ---------- */

.socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
  max-width: 420px;
}

.social-btn {
  --icon-size: 4.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--orange);
  border-radius: 999px;
  height: var(--icon-size);
  width: 100%;
  padding-left: calc(var(--icon-size) * 0.6);
  padding-right: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.icon-circle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 55%;
  height: 55%;
}

.label {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin-left: calc(var(--icon-size) * 0.45);
}

/* Mobile order: WhatsApp, Instagram, Facebook (matches source layout) */
.social-btn--whatsapp { order: 1; }
.social-btn--instagram { order: 2; }
.social-btn--facebook { order: 3; }

/* ---------- Desktop ---------- */

@media (min-width: 860px) {
  .socials {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    max-width: none;
  }

  .social-btn {
    --icon-size: 2.75rem;
    width: auto;
    justify-content: flex-start;
    padding-left: calc(var(--icon-size) * 0.65);
    padding-right: 1.25rem;
  }

  .label {
    font-size: 0.95rem;
    margin-left: calc(var(--icon-size) * 0.5);
  }

  /* Desktop order: Instagram, Facebook, WhatsApp (matches source layout) */
  .social-btn--instagram { order: 1; }
  .social-btn--facebook { order: 2; }
  .social-btn--whatsapp { order: 3; }
}
