:root {
  --bg: #f4eee4;
  --bg-soft: #f8f4ed;
  --card: rgba(255, 252, 247, 0.94);
  --ink: #2f2018;
  --muted: #6f5a4a;
  --brand: #bd6d33;
  --brand-dark: #9c5524;
  --green: #4f6d42;
  --line: rgba(111, 90, 74, 0.16);
  --shadow: 0 24px 80px rgba(64, 42, 31, 0.12);
  --max: 1160px;
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 26%),
    linear-gradient(180deg, #f6f0e6 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.section-pad {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0;
}
.section-pad-small {
  width: min(940px, calc(100% - 44px));
  margin: 0 auto;
  padding: 14px 0 24px;
}

.site-header {
  width: min(var(--max), calc(100% - 44px));
  margin: 18px auto 0;
  min-height: 86px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  padding: 12px 18px 12px 22px;

  position: sticky;
  top: 14px;
  z-index: 20;

  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* LOGO */

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
}

.brand img {
  width: 148px;
  height: 64px;
  object-fit: contain;
  display: block;
}

/* MENU */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;

  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  transition: color .18s ease, transform .18s ease;
}

.main-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-donate {
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(189, 109, 51, 0.22);
}


.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

h1, h2, h3 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
h1 { font-size: clamp(58px, 8vw, 104px); max-width: 760px; }
h2 { font-size: clamp(42px, 5.2vw, 72px); max-width: 860px; }
h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; }
p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 62px;
  align-items: center;
  padding-top: 54px;
}
.hero-text { max-width: 580px; color: #714c34; font-size: 18px; }
.hero-actions, .donate-actions, .adoption-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px rgba(189,109,51,.28); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: #fffdf8; border: 1px solid var(--line); color: var(--brand-dark); }
.button-soft { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); color: #fff; }
.soft-note { color: var(--green); font-size: 14px; font-weight: 800; }

.hero-card { position: relative; }
.hero-photo {
  height: 540px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-photo img { object-position: center 18%; }
.floating-card {
  position: absolute;
  left: -28px;
  bottom: 34px;
  width: 292px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.floating-card strong { display: block; font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
.floating-card p { margin: 0; font-size: 14px; }

.bridge p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
}

.section-heading { margin-bottom: 42px; }
.section-heading p { max-width: 760px; }
.section-heading.narrow { max-width: 860px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading.center p { margin-inline: auto; }

.media-frame {
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(135deg, #ecebdc, #fff2dd 65%, #f5dfc9);
}
.media-frame img,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.photo-portrait { aspect-ratio: 4 / 5; }
.photo-landscape { aspect-ratio: 1.35 / 1; }
.hero-photo { aspect-ratio: 4 / 5; }
.dogs-position img { object-position: center 26%; }
.catatau-position img { object-position: center 26%; }
.generosity-grid .emphasis-card .media-frame {
  aspect-ratio: 1.02 / 1;
}

.generosity-grid .small-support-card .media-frame {
  aspect-ratio: 4 / 5.8;
}

.group-position img {
  object-fit: cover;
  object-position: center 40%;
}

.person-position img {
  object-fit: cover;
  object-position: center 18%;
}

.family-position img {
  object-fit: cover;
  object-position: center 18%;
}
.market-position img { object-position: center 22%; }
.indoor-position img { object-position: center 20%; }

.constellation-section { padding-top: 52px; }
.constellation {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 1.16fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: start;
  margin-top: 14px;
}
.constellation::before {
  content: "";
  position: absolute;
  inset: 36px 70px;
  background: radial-gradient(circle, rgba(189,109,51,.18) 0 2px, transparent 3px);
  background-size: 42px 42px;
  opacity: .4;
  pointer-events: none;
}
.star-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.star-1 { grid-column: 1; grid-row: 2; transform: rotate(-2deg); }
.star-2 { grid-column: 2; grid-row: 1 / span 2; transform: rotate(-1deg); }
.star-3 { grid-column: 3; grid-row: 1; transform: rotate(2deg); }
.star-4 { grid-column: 3; grid-row: 2; transform: rotate(-2deg); }
.star-photo figcaption {
  padding: 12px 8px 6px;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.35;
}
.real-note {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 30px 34px;
  text-align: center;
  background: rgba(255,253,249,.86);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.real-note h3 { margin-bottom: 10px; }
.real-note p { margin: 0; }

.real-grid,
.story-video,
.chosen-card,
.donate-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.real-text,
.place-card,
.chosen-text,
.transparency-card {
  background: rgba(255, 253, 249, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: 0 20px 60px rgba(75, 45, 20, 0.08);
}
.place-card { min-height: 330px; display: flex; flex-direction: column; justify-content: center; }
.place-pin {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff2df;
  font-size: 26px;
  margin-bottom: 18px;
}

.adoption-section { padding-top: 74px; }
.adoption-grid {
  display: grid;
  grid-template-columns: .9fr .9fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}
.adoption-card {
  min-height: 380px;
  border-radius: 30px;
}
.photo-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: var(--shadow);
}
.adoption-card.tall { transform: translateY(34px); }
.adoption-copy {
  padding: 34px;
  background: var(--brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.adoption-copy h3 { color: #fff; }
.adoption-copy p { color: rgba(255,255,255,.9); }
.text-link {
  width: fit-content;
  border-bottom: 2px solid rgba(255,255,255,.6);
  font-weight: 900;
}

.comments-section { padding-top: 46px; }
.comment-balloons {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 40px;
}
.comment-balloon {
  position: relative;
  width: min(250px, 100%);
  padding: 20px 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
  animation: floatComment 6s ease-in-out infinite;
}
@keyframes floatComment {
  0% {
    transform: translateY(18px);
    opacity: 0.72;
  }

  35% {
    transform: translateY(-10px);
    opacity: 1;
  }

  70% {
    transform: translateY(-24px);
    opacity: 0.96;
  }

  100% {
    transform: translateY(18px);
    opacity: 0.72;
  }
}
.comment-balloon::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -14px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.comment-balloon:hover { transform: translateY(-4px); }
.comment-balloon strong { display: block; margin-bottom: 8px; color: var(--brand-dark); font-size: 14px; }
.comment-balloon p { margin: 0; font-size: 15px; line-height: 1.55; }
.balloon-1 { transform: translateY(-12px); animation-delay: 0s;}
.balloon-2 { transform: translateY(-48px); animation-delay: 1.2s;}
.balloon-3 { transform: translateY(-20px); animation-delay: 2.1s;}
.balloon-4 { transform: translateY(-62px); animation-delay: 3.2s;}
.comment-balloon:hover.balloon-1,
.comment-balloon:hover.balloon-2,
.comment-balloon:hover.balloon-3,
.comment-balloon:hover.balloon-4 { transform: translateY(calc(var(--lift, 0px) - 4px)); }
.balloon-1 { --lift: -12px; }
.balloon-2 { --lift: -48px; }
.balloon-3 { --lift: -20px; }
.balloon-4 { --lift: -62px; }

.story-video { padding-top: 90px; }
.video-copy { align-self: stretch; }
.video-box {
  background: rgba(255, 253, 249, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.video-box small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.video-frame {
  background: #241913;
  border-radius: 26px;
  overflow: hidden;
}
.phone-frame {
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}
.small-phone { max-width: 340px; }
.video-frame video { object-fit: contain; background: #241913; }

.chosen-section { padding-top: 46px; }
.chosen-card {
  background: rgba(255, 253, 249, .92);
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.chosen-image {
  border-radius: 28px;
  aspect-ratio: 4 / 5;
}
.chosen-text {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 30px 24px;
}
.compact-video { padding: 0; background: transparent; border: 0; box-shadow: none; }

.generosity-section { padding-top: 78px; }
.generosity-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr .95fr;
  gap: 22px;
  align-items: stretch;
}
.generosity-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.generosity-card .media-frame {
  border-radius: 26px;
  overflow: hidden;
}

.generosity-card .media-frame img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}
.emphasis-card { padding-bottom: 24px; }
.support-copy { padding: 18px 14px 0; }
.small-support-card h3,
.small-support-card p { padding-inline: 12px; }
.small-support-card h3 { margin-top: 18px; font-size: 28px; }
.small-support-card p { margin-bottom: 16px; }

.impact-section { padding-top: 72px; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.care-card {
  min-height: 222px;
  padding: 30px 24px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 35px rgba(75, 45, 20, .05);
}
.icon { display: block; font-size: 28px; margin-bottom: 18px; }
.care-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}
.care-card p { margin: 0; font-size: 15px; }

.gestures { padding-top: 42px; }
.gesture-list { display: grid; gap: 14px; }
.gesture-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(255, 253, 249, .86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(75,45,20,.05);
}
.gesture-number {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}
.gesture-item h3 { font-size: 26px; margin-bottom: 6px; }
.gesture-item p { margin: 0; }
.gesture-item a {
  flex: 0 0 auto;
  padding: 12px 16px;
  background: #fff4e7;
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 900;
}

.donate-section { padding-bottom: 38px; }
.donate-card {
  padding: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.donate-card h2 { color: #fff; }
.donate-card p, .donate-card .eyebrow { color: rgba(255,255,255,.78); }
.pix-box {
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
}
.pix-box label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 800;
}
.copy-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.copy-row input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 15px;
}
.copy-row button {
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.copy-feedback {
  min-height: 20px;
  margin: 0;
  color: #fff !important;
  font-size: 14px;
}

.transparency { padding-top: 30px; }
.transparency-card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.trust-list span {
  padding: 10px 14px;
  background: #fff6e9;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-copy strong { color: var(--ink); }
.footer-copy p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; }
.footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--brand-dark);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 32, 24, 0.08);
}
.social-link svg { width: 22px; height: 22px; }
.back-top { color: var(--brand-dark); font-weight: 900; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .site-header { border-radius: 0 0 30px 30px; top: 0; width: 100%; padding-inline: 22px; }
  .hero,
  .real-grid,
  .story-video,
  .chosen-card,
  .donate-card { grid-template-columns: 1fr; }
  .hero-card { max-width: 540px; margin-left: auto; margin-right: auto; }
  .floating-card { left: 20px; right: 20px; bottom: 20px; width: auto; }
  .constellation {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .star-1 { grid-column: 1; grid-row: 2; }
  .star-2 { grid-column: 2; grid-row: 1 / span 2; }
  .star-3 { grid-column: 1; grid-row: 1; }
  .star-4 { grid-column: 2; grid-row: 3; }
  .adoption-grid,
  .generosity-grid { grid-template-columns: 1fr; }
  .adoption-card.tall { transform: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .comment-balloons { min-height: auto; }
  .balloon-1, .balloon-2, .balloon-3, .balloon-4 { transform: none; }
}

@media (max-width: 720px) {
  .section-pad { width: min(100% - 26px, var(--max)); padding: 66px 0; }
  .section-pad-small { width: min(100% - 26px, 940px); }
  h1 { font-size: 54px; }
  h2 { font-size: 42px; }
  .hero { gap: 28px; padding-top: 36px; }
  .hero-photo { height: 400px; }
  .bridge p { text-align: left; }
  .constellation { grid-template-columns: 1fr; }
  .star-1, .star-2, .star-3, .star-4 { grid-column: auto; grid-row: auto; transform: none; }
  .photo-portrait,
  .chosen-image,
  .hero-photo { aspect-ratio: 4 / 4.9; }
  .cards-grid { grid-template-columns: 1fr; }
  .gesture-item { align-items: flex-start; flex-direction: column; }
  .copy-row { flex-direction: column; }
  .copy-row button { padding: 13px 16px; }
  .real-text,
  .place-card,
  .chosen-text,
  .transparency-card,
  .donate-card { padding: 26px; }
  .comment-balloon { width: 100%; }
  .site-footer { flex-direction: column; }
  .footer-actions { justify-content: space-between; width: 100%; }
  .generosity-grid .emphasis-card .media-frame,
.generosity-grid .small-support-card .media-frame {
  aspect-ratio: 4 / 5.4;
}
}

/* RESPONSIVO */

@media (max-width: 860px) {
  .site-header {
    min-height: 78px;
    padding: 10px 14px;
  }

  .brand {
    height: 56px;
  }

  .brand img {
    width: 126px;
    height: 56px;
  }

  .main-nav {
    display: none;
  }
}