:root {
  --ink: #1f2933;
  --muted: #5d6b74;
  --line: #d7e1df;
  --paper: #fffaf2;
  --surface: #ffffff;
  --mist: #eef6f3;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #d9654f;
  --gold: #f2b84b;
  --green: #78a85a;
  --shadow: 0 18px 45px rgba(26, 43, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--teal-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - 1140px) / 2));
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(215, 225, 223, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: fit-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
}

.brand-mark svg {
  width: 24px;
  fill: currentColor;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--teal-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(21, 36, 42, 0.92) 0%, rgba(21, 36, 42, 0.68) 42%, rgba(21, 36, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(21, 36, 42, 0.8) 0%, rgba(21, 36, 42, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2rem;
  align-items: end;
  padding: 7.5rem 0 4rem;
  color: #fff;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd484;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 101, 79, 0.24);
}

.btn-light {
  background: #fff;
  color: var(--teal-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-secondary {
  background: var(--teal);
  color: #fff;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-panel h2 {
  margin-top: 1rem;
  font-size: 1.45rem;
}

.hero-event-tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel dl {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.hero-panel div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-panel dd {
  margin: 0.2rem 0 0;
  font-weight: 800;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:last-child,
.event-grid p,
.two-column > div > p,
.report-layout > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.impact-updated {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.allies {
  background: var(--surface);
}

.sponsor-ledger {
  display: grid;
  gap: 1rem;
}

.sponsor-tier {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.sponsor-tier--auspiciador {
  background: linear-gradient(180deg, #fff9f6 0%, #fffefc 100%);
}

.sponsor-tier--patrocinador {
  background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.sponsor-tier--colaborador {
  background: linear-gradient(180deg, #fbfaf6 0%, #ffffff 100%);
}

.sponsor-tier-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.sponsor-tier h3 {
  margin: 0.15rem 0 0.35rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
}

.sponsor-tier p {
  margin: 0;
  color: var(--muted);
}

.sponsor-tier-tag {
  display: inline-flex;
  margin-bottom: 0.6rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sponsor-tier-count {
  min-width: 110px;
  text-align: right;
}

.sponsor-tier-count strong {
  display: block;
  color: var(--coral);
  font-size: 2rem;
  line-height: 1;
}

.sponsor-tier-count span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 800;
}

.sponsor-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 176px;
  padding: 0.85rem;
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: calc(var(--radius) - 2px);
  background: #fbfcfb;
  text-align: center;
}

.sponsor-card--empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  text-align: left;
}

.sponsor-card-mark {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 146px;
  min-height: 94px;
  max-height: 94px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: #fff;
  overflow: hidden;
}

.sponsor-card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-card-mark span {
  color: var(--teal-dark);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.sponsor-card-copy h4 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: anywhere;
}

.sponsor-card--empty strong {
  display: block;
  margin-top: 0.25rem;
}

.sponsor-card--empty p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.sponsor-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  background: #fff0e8;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.event-strip {
  background: var(--surface);
}

.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-list article,
.activity-grid article,
.shelter-grid article,
.package,
.report-board article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
}

.detail-list article {
  padding: 1rem;
}

.detail-list span {
  color: var(--coral);
  font-weight: 900;
}

.detail-list .num {
  color: var(--coral);
  font-size: 1.05rem;
  font-weight: 950;
}

.detail-list p,
.activity-grid p,
.shelter-grid p,
.dog-card p,
.timeline p {
  color: var(--muted);
}

.map-wrap {
  margin-top: 2rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.impact {
  background: var(--mist);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.metrics-grid article {
  min-height: 145px;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
}

.metrics-grid article:nth-child(2n) {
  background: var(--coral);
}

.metrics-grid article:nth-child(3n) {
  background: #37644d;
}

.metrics-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.metrics-grid span {
  display: block;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.metrics-grid .metric-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin: 0 0 1rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.activity-grid article {
  min-height: 150px;
  padding: 1.2rem;
}

.act-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  font-size: 1.35rem;
}

.registration-section,
.donation {
  background: linear-gradient(180deg, #fffaf2 0%, #eef6f3 100%);
}

.two-column,
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.qr-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 1rem;
  max-width: 520px;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qr-pattern {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 104px;
  height: 104px;
  padding: 8px;
  background: #fff;
  border: 2px solid var(--ink);
}

.qr-pattern span {
  background: var(--ink);
}

.qr-pattern span:nth-child(2n),
.qr-pattern span:nth-child(5n),
.qr-pattern span:nth-child(11n) {
  background: transparent;
}

.form-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd8d5;
  border-radius: var(--radius);
  padding: 0.7rem 0.78rem;
  background: #fbfefd;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: 0;
}

.form-card .btn {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.error {
  color: #a33224;
}

.sponsors {
  background: #fff;
}

.packages-grid,
.shelter-grid,
.dog-grid {
  display: grid;
  gap: 1rem;
}

.packages-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shelter-grid,
.dog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package {
  padding: 1.25rem;
}

.package.featured {
  border-color: var(--teal);
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
}

.package p {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.package-tier {
  display: inline-flex;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.package-presented {
  margin: 0.4rem 0 0;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.75rem;
}

.package-price {
  display: block;
  margin-top: 0.6rem;
  color: var(--coral);
  font-size: 1.55rem;
  font-weight: 950;
}

.package ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.package.sponsor-package--top {
  border-color: rgba(217, 101, 79, 0.28);
}

.package.sponsor-package--middle {
  border-color: rgba(15, 118, 110, 0.26);
}

.package.sponsor-package--bottom {
  border-color: rgba(56, 100, 77, 0.26);
}

.sponsor-form,
.adoption-form {
  margin-top: 1rem;
}

.shelters {
  background: var(--mist);
}

.shelter-grid article {
  padding: 1.2rem;
}

.shelter-grid dl {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
}

.shelter-grid dt {
  color: var(--teal-dark);
  font-weight: 900;
}

.shelter-grid dd {
  margin: 0 0 0.45rem;
  color: var(--muted);
}

.dog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dog-card > div:last-child {
  padding: 1.15rem;
}

.dog-meta {
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.dog-status-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.dog-ideal {
  margin-top: 0;
}

.dog-photo {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.dog-one {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.88) 0 9%, transparent 9.5%),
    radial-gradient(circle at 42% 46%, #7a4c35 0 2%, transparent 2.3%),
    radial-gradient(circle at 58% 46%, #7a4c35 0 2%, transparent 2.3%),
    radial-gradient(circle at 50% 62%, #7a4c35 0 24%, transparent 24.5%),
    linear-gradient(135deg, #f9d885, #7cb7a4);
}

.dog-two {
  background:
    radial-gradient(circle at 50% 40%, #f4efe7 0 10%, transparent 10.5%),
    radial-gradient(circle at 43% 47%, #24323a 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 57% 47%, #24323a 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 50% 64%, #5c3e31 0 26%, transparent 26.5%),
    linear-gradient(135deg, #9dc1bd, #d9654f);
}

.dog-three {
  background:
    radial-gradient(circle at 50% 37%, #fff6d8 0 8%, transparent 8.5%),
    radial-gradient(circle at 42% 45%, #2b2b2b 0 2%, transparent 2.3%),
    radial-gradient(circle at 58% 45%, #2b2b2b 0 2%, transparent 2.3%),
    radial-gradient(circle at 50% 64%, #d19a52 0 23%, transparent 23.5%),
    linear-gradient(135deg, #adc66e, #ffd484);
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0;
}

.donation-options span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 850;
}

.volunteer {
  background: #fff;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  color: var(--coral);
  font-weight: 950;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #fff0e8;
  color: var(--coral);
}

.timeline-badge.during {
  background: var(--mist);
  color: var(--teal-dark);
}

.timeline-badge.after {
  background: #fff6d8;
  color: #8a641c;
}

.timeline p {
  margin: 0;
}

.report {
  background: var(--ink);
  color: #fff;
}

.report p {
  color: rgba(255, 255, 255, 0.78);
}

.report-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.report-board article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  padding: 1rem;
}

.report-board span,
.report-board strong {
  display: block;
}

.report-board span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.report-board strong {
  margin-top: 0.4rem;
  font-size: 1.4rem;
}

.site-footer {
  padding: 2rem 0;
  background: #172126;
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid p,
.footer-links {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
}

.whatsapp-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #1f9d61;
  color: #fff;
  box-shadow: 0 16px 35px rgba(31, 157, 97, 0.32);
  font-weight: 900;
}

.whatsapp-button svg {
  width: 23px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-content,
  .event-grid,
  .two-column,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .metrics-grid,
  .sponsor-logo-grid,
  .activity-grid,
  .packages-grid,
  .shelter-grid,
  .dog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding: 6rem 0 2rem;
  }

  .hero-actions .btn,
  .form-grid,
  .detail-list,
  .metrics-grid,
  .activity-grid,
  .packages-grid,
  .shelter-grid,
  .dog-grid,
  .report-board {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .sponsor-tier-head {
    display: grid;
  }

  .sponsor-tier-count {
    text-align: left;
  }

  .section {
    padding: 4rem 0;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer-grid {
    display: grid;
  }

  .whatsapp-button {
    left: auto;
    width: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-button span {
    display: none;
  }
}
