@font-face {
  font-family: Fraunces;
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("../assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff8e7;
  --cream-deep: #f3e6c4;
  --paper: #fffef9;
  --ink: #1a2b1d;
  --muted: #37503a;
  --forest: #163d23;
  --forest-deep: #163b23;
  --leaf: #247a38;
  --leaf-bright: #3fa34d;
  --gold: #f5c542;
  --gold-soft: #ffe27a;
  --gold-deep: #8a6410;
  --water: #2f7fc1;
  --water-deep: #1f5f93;
  --sky: #9ed6ef;
  --meadow: #c8e89a;
  --whatsapp: #1c7a3a;
  --whatsapp-hover: #166433;
  --instagram: linear-gradient(45deg, #f9ce34, #ee2a7b 52%, #6228d7);
  --facebook: #1877f2;
  --youtube: #c91f2a;
  --maps: #2a6fb0;
  --email: #e8b83a;
  --sand: #e6d7b3;
  --line: rgba(36, 122, 56, 0.16);
  --focus: #1f5f93;
  --shadow: 0 8px 22px rgba(22, 61, 35, 0.1);
  --font-display: Fraunces, "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --radius: 1.45rem;
  --max: 26.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: light; }

html,
body { min-height: 100%; }

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      #8ecdee 0%,
      #c5e8f8 16%,
      #fff4c8 36%,
      #fff8e7 58%,
      #e9f6c9 86%,
      #c8e89a 100%
    );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22rem;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sun-glow {
  position: absolute;
  top: -3.5rem;
  left: 50%;
  width: 24rem;
  height: 24rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 213, 74, 0.85) 0%, rgba(255, 213, 74, 0.28) 42%, transparent 70%);
}

.sun {
  position: absolute;
  top: -0.4rem;
  left: 50%;
  width: 13.5rem;
  height: 13.5rem;
  transform: translateX(-50%);
}

.cloud {
  position: absolute;
  opacity: 0.72;
  filter: drop-shadow(0 4px 8px rgba(31, 95, 147, 0.08));
}

.cloud-l {
  top: 0.85rem;
  left: 0;
  width: 5.4rem;
  height: 2.7rem;
}

.cloud-r {
  top: 2.2rem;
  right: 0;
  width: 4.8rem;
  height: 2.4rem;
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9.5rem;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ground svg {
  display: block;
  width: 100%;
  height: 100%;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.8rem;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 0.7rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.6rem 0 7.25rem;
}

.header {
  text-align: center;
  padding: 1.3rem 0 1.15rem;
}

.logo {
  display: inline-block;
  width: 11.25rem;
  height: 11.25rem;
  margin: 0 0 0.85rem;
  filter: drop-shadow(0 10px 20px rgba(22, 61, 35, 0.18));
}

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

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

h1 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.8rem, 6.2vw, 2.28rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

.tagline {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: 1.14rem;
  line-height: 1.35;
  color: var(--leaf);
}

.intro {
  margin: 0 auto;
  max-width: 24.5rem;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.links {
  display: grid;
  gap: 0.7rem;
  margin: 0.15rem 0 1.1rem;
}

.link {
  display: grid;
  grid-template-columns: 2.55rem 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: var(--paper);
  color: var(--forest-deep);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.link .icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
}

.link .icon svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: currentColor;
}

.link .label {
  grid-column: 2;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.link .hint {
  grid-column: 2;
  margin-top: 0.12rem;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
  font-weight: 400;
}

.link .chev {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--leaf);
  opacity: 0.65;
}

.link:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(245, 197, 66, 0.8);
  box-shadow: 0 14px 30px rgba(22, 61, 35, 0.16);
}

.link:active { transform: translateY(0) scale(0.985); }

.link-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: transparent;
}

.link-whatsapp .icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.link-whatsapp .chev,
.link-whatsapp .hint { color: #e9f8ee; }

.link-whatsapp .hint { opacity: 0.92; }

.link-whatsapp:hover {
  background: var(--whatsapp-hover);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(28, 122, 58, 0.32);
}

.link-instagram .icon { background: var(--instagram); }
.link-facebook .icon { background: var(--facebook); }
.link-youtube .icon { background: var(--youtube); }
.link-maps .icon { background: var(--maps); }
.link-email .icon {
  background: var(--email);
  color: var(--forest-deep);
}

.link:focus { outline: none; }

.link:focus-visible,
.skip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.footer {
  margin-top: auto;
  padding-top: 0.4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer p { margin: 0.2rem 0; }

.footer .place {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

@media (min-width: 720px) {
  .page { padding-top: 2rem; padding-bottom: 7.5rem; }
  .logo { width: 12.5rem; height: 12.5rem; }
  .header { padding-top: 1.6rem; }
  .sun { width: 16rem; height: 16rem; top: 0.2rem; }
  .sun-glow { width: 28rem; height: 28rem; }
  .cloud-l { top: 1.6rem; left: max(1rem, calc(50% - 18rem)); width: 8.5rem; height: 4.2rem; }
  .cloud-r { top: 3rem; right: max(1rem, calc(50% - 17.5rem)); width: 7.4rem; height: 3.6rem; }
}

@media (min-height: 900px) {
  .page { padding-top: 2.5rem; }
  .logo { width: 13.25rem; height: 13.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
  .link:hover,
  .link:active { transform: none; }
}

/* Centre single-line labels when a button has no hint. */
.link .label:not(:has(+ .hint)) { grid-row: 1 / span 2; }

[hidden] { display: none !important; }
