/* MAPETZO · Próximamente — follows the MAPETZO website design */

@font-face { font-family: "Young Serif"; src: url("assets/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bosque: #3F5338;
  --bosque-profundo: #2C3B27;
  --terracota: #A9503A;
  --caramelo: #A9805A;
  --tofe: #8A6440;
  --corteza: #5A4632;
  --avena: #FBF7EE;
  --crema: #F7F0DE;
  --salvia: #E4E9DC;
  --salvia-media: #CFD8C3;
  --arena: #F3E4D0;
  --arena-media: #E9D2B5;
  --linea: #E6DCC4;
  --blanco: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--avena);
  color: var(--bosque-profundo);
  font-family: "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.header { border-bottom: 1px solid var(--linea); }
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: block; height: 84px; width: auto; }
.header__note { font-size: 14px; font-weight: 600; color: var(--corteza); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero__copy { display: flex; flex-direction: column; gap: 18px; }

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tofe);
}

h1 {
  margin: 0;
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.05;
  color: var(--bosque-profundo);
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--corteza);
  text-wrap: pretty;
}

.soon {
  align-self: flex-start;
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--terracota);
  color: var(--avena);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.soon svg { width: 16px; height: 16px; }

/* Cat + dog panels */
.hero__art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel {
  position: relative;
  border-radius: 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--avena);
  font-size: 13px;
  font-weight: 700;
  color: var(--bosque-profundo);
}

.panel--cat {
  background: var(--salvia);
  justify-content: flex-end;
  align-items: center;
  padding: 52px 12px 0;
}
.panel--cat img { width: 100%; max-width: 300px; height: auto; display: block; }

.panel--dog {
  background: var(--arena);
  justify-content: flex-end;
  align-items: center;
  padding: 52px 12px 0;
}
.figure { position: relative; width: 81%; max-width: 245px; }
.figure img { width: 100%; height: auto; display: block; }
.figure .base { position: absolute; left: -6%; width: 112%; bottom: -2px; height: auto; display: block; }

/* Values */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-bottom: 56px;
}
.value {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
}
.value svg { width: 26px; height: 26px; color: var(--bosque); grid-row: span 2; }
.value h2 { margin: 0; font-size: 17px; font-weight: 700; }
.value p { margin: 0; font-size: 15px; color: var(--corteza); }

/* Footer */
.footer { background: var(--bosque-profundo); color: var(--crema); }
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--salvia);
}
.footer__brand { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: 20px; letter-spacing: 0.05em; color: var(--crema); }

/* Tablet and up */
@media (min-width: 700px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .panel { min-height: 340px; border-radius: 32px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .value { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 24px; }
  .value h2 { font-size: 18px; }
}

/* Desktop */
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
    padding-top: 72px;
    padding-bottom: 88px;
  }
  .hero__copy { gap: 24px; }
  .soon { font-size: 16px; padding: 14px 26px; }
  .hero__art { grid-template-columns: 1fr 1fr; gap: 16px; }
  .panel { min-height: 430px; }
  .panel--cat img { max-width: 350px; }
  .figure { max-width: 284px; }
  .brand { height: 112px; }
  .values { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy, .hero__art, .values { animation: rise 0.6s ease-out both; }
  .hero__art { animation-delay: 0.1s; }
  .values { animation-delay: 0.2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
