@import url("https://fonts.googleapis.com/css2?family=Gabarito:wght@700&family=Inter:wght@400;600&display=swap");

:root {
  --ciruela: #26112A;
  --lima: #C9E04B;
  --rosa: #F4B6D2;
  --fondo: #FBF1F6;
  --blanco: #FFFFFF;
  --max: 72rem;
  --logo-h: 2.75rem;
  --logo-safe: calc(20 / 64 * var(--logo-h));
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ciruela);
  background: var(--fondo);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: Gabarito, Inter, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--ciruela); }
a:hover { text-decoration-thickness: 2px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ciruela);
  color: var(--blanco);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2 * max(1.25rem, var(--logo-safe))));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--fondo) 92%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--ciruela) 8%, transparent);
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--logo-safe);
  padding: var(--logo-safe) 0;
  flex-wrap: wrap;
}
.logo { display: inline-flex; }
.logo img { height: var(--logo-h); width: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.15rem; }
nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ciruela);
}
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
nav a[aria-current="true"] {
  box-shadow: inset 0 -0.35em var(--lima);
  text-decoration: none;
}

.hero { padding: 4.5rem 0 3.5rem; }
.hero p { font-size: 1.2rem; max-width: 38rem; }
.accent {
  box-shadow: inset 0 -0.28em var(--lima);
}

.btn {
  display: inline-block;
  background: var(--lima);
  color: var(--ciruela);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.6rem 0.7rem 0 0;
  line-height: 1.2;
}
.btn:hover, .btn:focus-visible {
  color: var(--ciruela);
  outline: 3px solid var(--ciruela);
  outline-offset: 3px;
  text-decoration: none;
}
.btn-alt {
  background: transparent;
  color: var(--ciruela);
  box-shadow: inset 0 0 0 2px var(--ciruela);
}

section { padding: 4rem 0; }
.lede { max-width: 40rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.15rem;
  margin-top: 1.6rem;
}
.card {
  background: var(--blanco);
  border-radius: 1.15rem;
  padding: 1.5rem 1.4rem 1.6rem;
  border-top: 6px solid var(--rosa);
}
.card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.6rem; }
.tag {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  background: var(--rosa);
  color: var(--ciruela);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
}

.band {
  background: var(--ciruela);
  color: var(--fondo);
}
.band h2, .band h3 { color: var(--blanco); }
.band a { color: var(--lima); }
.band .card {
  background: color-mix(in srgb, white 8%, var(--ciruela));
  color: var(--fondo);
  border-top-color: var(--lima);
}
.band .card h3 { color: var(--blanco); }

.values { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.values li {
  background: var(--blanco);
  border-radius: 1rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-left: 4px solid var(--lima);
}
.values strong { display: block; font-family: Gabarito, Inter, sans-serif; font-size: 1.15rem; margin-bottom: 0.25rem; }

.contact-box {
  background: var(--blanco);
  border-radius: 1.2rem;
  padding: 1.6rem;
  max-width: 36rem;
}
.mail {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ciruela);
  box-shadow: inset 0 -0.28em var(--lima);
}

.pie-rule {
  display: block;
  width: 100%;
  line-height: 0;
}
.pie-rule img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { font-weight: 600; text-decoration: none; color: var(--ciruela); }
.site-footer a:hover { text-decoration: underline; }

.page-404 { min-height: 60vh; display: grid; align-content: center; padding: 4rem 0; }
.page-404 h1 { margin-bottom: 1rem; }

:focus-visible { outline: 3px solid var(--ciruela); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--lima); }
