:root {
  --forest: #57285f;
  --forest-2: #3b1943;
  --cream: #f8f4f8;
  --paper: #ffffff;
  --amber: #d9b17b;
  --ink: #2d2030;
  --muted: #716375;
  --line: #e6dce7;
  --radius-lg: 1.75rem;
  --radius-md: 1rem;
  --shadow: 0 18px 50px rgba(59, 25, 67, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  min-height: 72px;
  padding: .75rem .8rem .75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(23, 63, 53, .12);
  border-radius: 999px;
  position: sticky;
  top: .75rem;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: "DM Sans", sans-serif; font-size: 1.22rem; font-weight: 700; }
.brand em { color: var(--forest); font-style: normal; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: var(--amber); }
.brand-logo { flex: 0 0 auto; width: 46px; height: 46px; object-fit: cover; border: 2px solid rgba(87, 40, 95, .16); border-radius: 13px; box-shadow: 0 5px 16px rgba(59, 25, 67, .18); }
nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; }
nav > a:not(.nav-cta):hover { color: var(--forest); }
.nav-cta { background: var(--amber); color: var(--forest-2); padding: .65rem 1.2rem; border-radius: 999px; }
.social-links { display: flex; align-items: center; gap: .45rem; }
.social-link { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: 50%; color: white; box-shadow: 0 5px 14px rgba(45, 32, 48, .16); transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.social-link[href*="instagram.com"] { background: linear-gradient(135deg, #833ab4 5%, #e1306c 55%, #fcaf45 100%); }
.social-link[href*="facebook.com"] { background: #1877f2; }
.social-link[href*="wa.me"] { background: #25d366; }
.social-link:hover { transform: translateY(-2px); color: white; filter: brightness(.92) saturate(1.08); box-shadow: 0 8px 18px rgba(45, 32, 48, .24); }
.social-link svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.social-link svg rect, .social-link svg circle:not(.social-dot), .social-link-whatsapp svg > path:first-child { fill: none; }
.social-link .social-dot { stroke: none; }

main { overflow: hidden; }
.intro { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 610px; width: min(1360px, calc(100% - 48px)); margin: 22px auto 0; padding: 72px clamp(24px, 5vw, 76px) 112px; overflow: hidden; border-radius: 28px; background: var(--forest-2); color: white; box-shadow: 0 24px 70px rgba(59, 25, 67, .18); }
.hero-image { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 58%; height: 100%; object-fit: cover; object-position: 50% 35%; image-rendering: auto; }
.intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#3b1943 8%,#3b1943 37%,rgba(59,25,67,.84) 49%,rgba(59,25,67,.08) 74%); }
.intro-copy { width: 55%; }
.intro .eyebrow { color: #e6c89f; font-size: .85rem; }
.intro h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 700; }
.intro h1 span { color: #e6c89f; }
.intro .lede { color: #eee6ef; max-width: 480px; font-size: 1.05rem; margin: 24px 0 30px; }
.intro .button { background: var(--amber); color: var(--forest-2); box-shadow: none; white-space: nowrap; }
.hero-secondary { color: white; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.hero-caption { position: absolute; left: clamp(24px,5vw,76px); bottom: 30px; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid #ffffff30; }
.hero-caption > span { color: #e6c89f; font-size: 26px; }
.hero-caption strong, .hero-caption div span { display: block; }
.hero-caption strong { font-size: .9rem; }
.hero-caption div span { color: #ded2e1; font-size: .8rem; }
.intro-copy { max-width: 790px; }
.eyebrow { margin: 0 0 1rem; color: var(--forest); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 24px; height: 2px; margin: 0 .55rem .2rem 0; background: var(--amber); }
h1, h2, h3 { font-family: "DM Sans", sans-serif; line-height: 1.14; margin: 0; }
h1 { max-width: 850px; font-size: clamp(3.4rem, 8vw, 7.7rem); letter-spacing: -.055em; }
h1 em { color: var(--forest); font-style: normal; font-weight: 600; }
.lede { max-width: 650px; margin: 2rem 0; color: #655869; font-size: 1.14rem; }
.intro-actions { display: flex; align-items: center; gap: 2rem; }
.intro-actions p { margin: 0; padding-left: 1.2rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.4; }
.intro-actions strong { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 52px; padding: .75rem 1.2rem; border: 0; border-radius: .8rem; cursor: pointer; font-weight: 700; }
.button-primary { background: var(--forest); color: white; box-shadow: var(--shadow); }
.button-primary:hover { background: var(--forest-2); transform: translateY(-1px); }
.dogs-section { padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100% - 1120px) / 2)); background: var(--forest); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 650px; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.035em; }
.section-heading > p { max-width: 330px; margin: 0 0 .3rem; color: #d5c7d8; }
.dogs-section .eyebrow { color: #e3d7e5; }
.dog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dog-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--paper); color: var(--ink); border: 1px solid #e6dce7; border-radius: var(--radius-lg); box-shadow: 0 16px 42px rgba(59, 25, 67, .09); transition: transform .25s ease, box-shadow .25s ease; }
.dog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(59, 25, 67, .15); }
.dog-photo { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 4 / 4.25; overflow: hidden; background: #eee4ef; }
.dog-photo-backdrop { position: absolute; inset: -1.5rem; z-index: 0; width: calc(100% + 3rem); height: calc(100% + 3rem); object-fit: cover; filter: blur(20px) brightness(.82) saturate(.82); opacity: .48; transform: scale(1.08); pointer-events: none; }
.dog-photo-image { position: absolute; inset: .55rem; z-index: 1; width: calc(100% - 1.1rem); height: calc(100% - 1.1rem); object-fit: contain; object-position: center; filter: drop-shadow(0 5px 12px rgba(45,32,48,.12)); }
.dog-photo .status { z-index: 3; }
.status { position: absolute; top: 1rem; left: 1rem; padding: .42rem .72rem; border-radius: 999px; color: white; font-size: .73rem; font-weight: 700; box-shadow: 0 8px 25px rgba(0,0,0,.18); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .45rem; background: currentColor; border-radius: 50%; }
.status-available { background: #2c715e; }
.status-process { background: #a46613; }
.status-adopted { background: #4c566a; }
.dog-card-body { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 228px; padding: 1.25rem 1.3rem 1.35rem; background: linear-gradient(135deg, #f0e8f1 0%, #faf7fa 100%); border-top: 1px solid #e4d7e6; }
.dog-card-summary { min-width: 0; }
.dog-meta { display: block; min-height: 3.9em; margin: 0 0 .45rem; color: var(--muted); font-size: .78rem; font-weight: 600; line-height: 1.45; text-transform: uppercase; letter-spacing: .05em; overflow-wrap: anywhere; }
.dog-card h3 { min-height: 2.12em; font-size: clamp(1.55rem, 2.15vw, 1.9rem); line-height: 1.06; letter-spacing: -.035em; overflow-wrap: anywhere; word-break: normal; }
.text-button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 46px; margin-top: auto; padding: .65rem .7rem .65rem 1rem; border: 1px solid #bf9460; border-radius: 999px; background: var(--amber); color: var(--forest-2); cursor: pointer; font-weight: 700; line-height: 1.15; text-align: left; white-space: nowrap; box-shadow: 0 8px 20px rgba(140, 100, 64, .2); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.text-button:hover { transform: translateY(-2px); background: #e4c18f; box-shadow: 0 11px 25px rgba(140, 100, 64, .28); }
.story-arrow { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(16, 34, 60, .1); font-size: .9rem; }
.catalog-note { margin: 1.4rem 0 0; color: #d8cbdc; font-size: .86rem; }
.process-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.process-intro h2, .application-heading h2 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); letter-spacing: -.04em; }
.process-intro > p:last-child { max-width: 500px; margin-top: 1.5rem; color: var(--muted); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: #8d5b92; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.process-list h3 { margin-bottom: .4rem; color: var(--forest); font-family: "DM Sans", sans-serif; font-size: 1.05rem; line-height: 1.3; }
.process-list p { margin: 0; color: var(--muted); }

.application-section { padding: clamp(4.5rem, 9vw, 8rem) max(1rem, calc((100% - 1120px) / 2)); background: #f1eaf2; }
.application-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.manual-note { display: flex; align-items: flex-start; gap: 1rem; max-width: 420px; padding: 1rem 1.1rem; background: #eadfec; border: 1px solid #d7c5da; border-radius: var(--radius-md); }
.manual-note > span { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; margin-top: .12rem; background: var(--forest); color: white; border-radius: 50%; font-family: "DM Sans", sans-serif; font-weight: 700; }
.manual-note p { margin: 0; color: #5f4964; font-size: .88rem; line-height: 1.45; }
.manual-note strong { display: block; color: var(--forest-2); }

form { overflow: hidden; background: var(--paper); border: 1px solid #e1d5e3; border-radius: 1.5rem; box-shadow: 0 20px 70px rgba(59, 25, 67, .09); }
.honeypot { position: absolute; overflow: hidden; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; }
.form-layout { display: grid; grid-template-columns: 270px 1fr; }
.form-rail { padding: 2rem 1.5rem; background: var(--forest); color: white; }
.form-rail { position: relative; }
.form-rail > p { margin: 0 0 1.5rem; color: #d0bcd4; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.form-rail ol { position: sticky; top: 7rem; margin: 0; padding: 0; list-style: none; }
.form-rail li { position: relative; display: flex; align-items: center; gap: .8rem; padding: .65rem 0 1.8rem; color: #d3c3d6; font-size: .88rem; font-weight: 600; }
.form-rail li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: 3px; width: 1px; background: rgba(255,255,255,.17); }
.form-rail li span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: .74rem; }
.form-rail li.active { color: white; }
.form-rail li.active span { background: var(--amber); border-color: var(--amber); color: var(--forest-2); }
.rail-assurance { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); color: #d0bcd4; font-size: .75rem; line-height: 1.5; }
.rail-assurance strong { color: white; }
.form-content { min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); }
.form-step { margin: 0; padding: 0 0 3rem; border: 0; }
.form-step + .form-step { padding-top: 3rem; border-top: 1px solid var(--line); }
.form-step legend { display: flex; align-items: center; gap: .75rem; margin: 0; padding: 0; color: var(--forest-2); font-family: "DM Sans", sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.form-step legend span { color: #8d5b92; font-family: "DM Sans", sans-serif; font-size: .72rem; letter-spacing: .08em; }
.field-intro { margin: .6rem 0 1.8rem; color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .42rem; color: #49364d; font-size: .88rem; font-weight: 700; }
.field label b, .consent b { color: #a35b16; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .72rem .85rem;
  border: 1px solid #d9cddd;
  border-radius: .65rem;
  outline: none;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,63,53,.12); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b55042; }
.field small { display: block; margin-top: .35rem; color: var(--muted); font-size: .74rem; }
.conditional-field { padding: .85rem; background: #f6f0f6; border-radius: .8rem; }
.conditional-field[hidden] { display: none; }
.commitment-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.commitment-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.commitment-row strong, .commitment-row span { display: block; }
.commitment-row strong { color: #3f3042; }
.commitment-row span { margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.radio-pair { display: flex; gap: .5rem; }
.radio-pair label { min-width: 62px; padding: .52rem .7rem; border: 1px solid #d9cddd; border-radius: 999px; cursor: pointer; text-align: center; font-size: .86rem; font-weight: 600; }
.radio-pair label:has(input:checked) { background: var(--forest); border-color: var(--forest); color: white; }
.radio-pair input { accent-color: var(--forest); }
.motive-field { margin-top: 2rem; }
.consent { display: flex; align-items: flex-start; gap: .75rem; margin: 1.5rem 0; padding: 1rem; border: 1px solid #e0d5e2; border-radius: .8rem; cursor: pointer; color: #635568; font-size: .86rem; line-height: 1.45; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .08rem; accent-color: var(--forest); }
.submit-area { display: flex; align-items: center; gap: 1.3rem; margin-top: 1rem; }
.button-submit { min-width: 230px; background: var(--amber); color: var(--forest-2); }
.button-submit:hover { background: #e4c18f; transform: translateY(-1px); }
.button-submit:disabled { opacity: .65; cursor: wait; }
.submit-area p { max-width: 380px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--forest); font-weight: 600; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 3rem; padding: 3rem max(1rem, calc((100% - 1120px) / 2)); background: var(--forest-2); color: #dacdde; }
footer p { margin: .6rem 0 0; font-size: .82rem; }
footer > p { max-width: 420px; }
footer > a { color: white; font-weight: 700; }
.footer-actions { display: flex; align-items: flex-end; flex-direction: column; gap: .65rem; }
.footer-actions a { color: white; font-weight: 700; }
.admin-access { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .78rem; }
.admin-access:hover { background: rgba(255,255,255,.08); }
.footer-brand { color: white; }
.footer-brand em { color: var(--amber); }
.footer-brand .brand-mark { background: var(--amber); color: var(--forest); }
.footer-brand .brand-logo { width: 52px; height: 52px; border-color: rgba(255,255,255,.24); }
.social-links-footer { margin-bottom: .2rem; }
.social-links-footer .social-link { border-color: rgba(255,255,255,.3); color: white; }
.social-links-footer .social-link:hover { color: white; filter: brightness(1.08) saturate(1.08); }

.dog-dialog { width: min(940px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; overflow: auto; border: 0; border-radius: 1.4rem; box-shadow: 0 30px 100px rgba(7,25,20,.4); }
.dog-dialog::backdrop { background: rgba(9, 26, 22, .72); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--forest-2); cursor: pointer; font-size: 1.5rem; }
.dialog-grid { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); align-items: stretch; min-height: 620px; background: var(--paper); }
.dialog-photo { position: relative; isolation: isolate; min-height: 620px; overflow: hidden; background: #eee4ef; }
.dialog-photo-backdrop { position: absolute; inset: -2rem; z-index: 0; width: calc(100% + 4rem); height: calc(100% + 4rem); object-fit: cover; filter: blur(24px) brightness(.78) saturate(.82); opacity: .5; transform: scale(1.08); pointer-events: none; }
.dialog-photo-image { position: absolute; inset: 1rem; z-index: 1; width: calc(100% - 2rem); height: calc(100% - 2rem); object-fit: contain; object-position: center; filter: drop-shadow(0 8px 20px rgba(45,32,48,.18)); }
.dialog-photo .status { z-index: 3; }
.dialog-content { padding: clamp(2rem, 5vw, 4rem); }
.dialog-content h2 { margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: anywhere; }
.dialog-content h3 { margin: 1.5rem 0 .35rem; color: var(--forest); font-family: "DM Sans", sans-serif; font-size: .9rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .07em; }
.dialog-content p { margin: 0; color: #695b6d; font-size: .92rem; }
.dialog-facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.dialog-facts span { padding: .42rem .65rem; background: #f0e8f1; border-radius: 999px; color: #5a465e; font-size: .76rem; font-weight: 700; }
.health-note { margin: 1.4rem 0; padding: 1rem; background: #fff0eb; border-radius: .8rem; color: #883c2b; font-size: .84rem; }
.dog-dialog[open] { animation: dialog-in .28s ease-out; }
.dog-dialog .button:disabled { background: #d7dcd8; color: #68736e; box-shadow: none; cursor: not-allowed; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--forest); }
.success-card { width: min(680px, 100%); padding: clamp(2rem, 7vw, 5rem); background: var(--paper); border-radius: 2rem; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 2rem; background: var(--amber); color: var(--forest-2); border-radius: 50%; font-size: 1.6rem; font-weight: 700; }
.success-card h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 9vw, 5rem); }
.success-card > p:not(.eyebrow) { color: var(--muted); }
.success-note { margin: 1.7rem 0; padding: 1rem; background: #f0e8f1; border-radius: .8rem; color: #5a465e; font-size: .88rem; }

@media (max-width: 860px) {
  .site-header { border-radius: 1.1rem; }
  nav > a:not(.nav-cta) { display: none; }
  .intro { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; }
  .trust-card { display: none; }
  .dog-grid { grid-template-columns: 1fr 1fr; }
  .dog-card-body { min-height: 220px; }
  .dog-card h3 { font-size: 1.65rem; }
  .process-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .application-heading { align-items: start; flex-direction: column; }
  .form-layout { grid-template-columns: 1fr; }
  .form-rail { padding: 1.2rem; }
  .form-rail > p, .rail-assurance { display: none; }
  .form-rail ol { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .form-rail li { align-items: flex-start; flex-direction: column; padding: 0; font-size: .72rem; }
  .form-rail li:not(:last-child)::after { display: none; }
  .form-rail li span { width: 29px; height: 29px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-actions { grid-column: 1 / -1; align-items: flex-start; }
  nav { gap: .75rem; }
}
@media (max-width: 600px) {
  .site-header { width: calc(100% - 1rem); margin-top: .5rem; min-height: 62px; padding-left: .8rem; top: .4rem; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-logo { width: 38px; height: 38px; border-radius: 11px; }
  .site-header .brand > span { display: none; }
  .social-links-header { gap: .25rem; }
  .social-links-header .social-link { width: 34px; height: 34px; }
  .social-links-header .social-link svg { width: 17px; height: 17px; }
  .nav-cta { padding: .55rem .85rem; }
  .intro { width: min(100% - 2rem, 1120px); padding: 4rem 0 3.5rem; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .lede { font-size: 1rem; }
  .intro-actions { align-items: stretch; flex-direction: column; }
  .intro-actions p { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .dog-grid { grid-template-columns: 1fr; }
  .dog-card { border-radius: 1.3rem; }
  .dog-photo { aspect-ratio: 4 / 4.2; }
  .dog-photo-image { inset: .45rem; width: calc(100% - .9rem); height: calc(100% - .9rem); }
  .dog-card-body { min-height: 0; padding: 1.1rem 1.15rem 1.2rem; }
  .dog-meta { min-height: 0; margin-bottom: .45rem; font-size: .76rem; }
  .dog-card h3 { min-height: 0; margin-bottom: 1rem; font-size: clamp(1.55rem, 8vw, 1.9rem); line-height: 1.06; }
  .text-button { min-height: 48px; margin-top: 0; }
  .application-section { padding-left: .5rem; padding-right: .5rem; }
  .application-heading { padding: 0 .5rem; }
  .form-content { padding: 1.3rem 1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .commitment-row { grid-template-columns: 1fr; }
  .radio-pair label { flex: 1; }
  .submit-area { align-items: stretch; flex-direction: column; }
  .button-submit { width: 100%; }
  .dog-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 1.2rem; }
  .dialog-grid { display: block; min-height: 0; }
  .dialog-photo { width: 100%; height: clamp(340px, 62vh, 520px); height: clamp(340px, 62dvh, 520px); min-height: 0; max-height: none; }
  .dialog-photo-image { inset: .75rem; width: calc(100% - 1.5rem); height: calc(100% - 1.5rem); }
  .dialog-content { position: relative; z-index: 2; padding: 1.6rem 1.25rem 2rem; background: var(--paper); }
  .dialog-content h2 { margin-bottom: 1rem; font-size: clamp(2rem, 10vw, 3.15rem); }
  .dialog-facts { gap: .4rem; }
  .dialog-facts span { font-size: .7rem; }
  footer { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-actions { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Patitas del Sur: shared navy, coral and white identity. */
[hidden] { display: none !important; }
section[id], input, select, textarea { scroll-margin-top: 110px; }
.site-header { border-radius: 18px; background: rgba(255,255,255,.96); border-color: var(--line); }
.brand { letter-spacing: -.04em; font-size: 1.25rem; }
.brand em { font-style: normal; }
.dogs-section { background: var(--cream); color: var(--ink); padding-top: 70px; padding-bottom: 70px; }
.dogs-section .eyebrow { color: #8d5b92; }
.section-heading h2, .process-intro h2, .application-heading h2 { font-size: clamp(2rem,3.3vw,3.1rem); line-height: 1.16; }
.section-heading > p { color: var(--muted); }
.catalog-empty { grid-column: 1 / -1; border: 1px dashed #d6c5d9; border-radius: 18px; padding: 38px 24px; background: white; text-align: center; }
.catalog-empty h3 { font-size: 1.35rem; }
.catalog-empty p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.catalog-note { color: var(--muted); }
.application-empty { padding: 28px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 12px; color: var(--muted); }
.process-section { border-top: 1px solid var(--line); padding-top: 70px; padding-bottom: 70px; }
.form-rail li, .form-rail > p, .rail-assurance { color: #d7c5da; }
.field label, .radio-pair label { font-size: .95rem; }
.field small, .dog-meta, .status, .submit-area p, footer p { font-size: .875rem; }
:focus-visible { outline: 3px solid #b8864f; outline-offset: 4px; }
@media(max-width: 860px) {
 .intro { min-height: 620px; padding: 48px 28px 110px; }
 .intro-copy { width: 68%; }
 .hero-image { width: 67%; }
 .intro::before { background: linear-gradient(90deg,#3b1943 5%,rgba(59,25,67,.96) 30%,rgba(59,25,67,.68) 59%,rgba(59,25,67,.12)); }
 .intro-actions { gap: 20px; flex-wrap: wrap; }
}
@media(max-width: 600px) {
 .intro { width: calc(100% - 24px); margin-top: 12px; padding: 310px 22px 30px; min-height: auto; border-radius: 20px; display: block; }
 .hero-image { width: 100%; height: 380px; object-position: center 26%; }
 .intro::before { height: 380px; background: linear-gradient(0deg,#3b1943 0%,rgba(59,25,67,.86) 16%,rgba(59,25,67,0) 52%); }
 .intro-copy { width: 100%; }
 .intro h1 { font-size: clamp(2.5rem,10.5vw,3.5rem); }
 .intro .lede { font-size: 1rem; margin: 20px 0 24px; }
 .intro-actions { flex-direction: row; align-items: center; }
 .hero-caption { position: static; margin-top: 28px; }
 .hero-caption div span { font-size: .875rem; }
 .dogs-section { padding-top: 48px; padding-bottom: 48px; }
 .site-header { top: 0; }
}

/* Contenido editable de portada, equipo y aportes. */
.nav-cta { border: 0; cursor: pointer; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.hero-story { max-width: 650px; margin: 1.1rem 0 1.7rem; color: #f4edf5; font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.7; text-wrap: pretty; }
.intro-actions { flex-wrap: wrap; gap: .8rem 1.5rem; }
.intro-actions .hero-secondary { padding: .55rem 0; }
.team-section { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; }
.team-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: 0 16px 42px rgba(59,25,67,.08); }
.team-card img { width: 100%; height: 240px; object-fit: contain; object-position: center; background: #eee4ef; }
.team-card h3 { padding: 1rem 1.1rem 1.2rem; color: var(--forest-2); font-size: 1.1rem; overflow-wrap: anywhere; }
.paw-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: rgba(16,34,60,.1); }
.paw-icon svg { width: 19px; height: 19px; fill: currentColor; }
.paw-icon circle { opacity: .92; }
.required-note { margin: -.9rem 0 1.35rem; color: var(--muted); font-size: .8rem; }
.required-note b { color: #a35b16; }
.support-dialog { width: min(560px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 1.4rem; box-shadow: 0 30px 100px rgba(7,25,20,.4); }
.support-dialog::backdrop { background: rgba(9,26,22,.72); backdrop-filter: blur(6px); }
.support-content { padding: clamp(2rem, 6vw, 3.5rem); background: var(--paper); }
.support-content h2 { margin-bottom: .7rem; color: var(--forest-2); font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; }
.support-content > p:not(.eyebrow):not(.support-status) { margin: 0; color: var(--muted); }
.bank-details { display: grid; gap: .7rem; margin: 1.6rem 0; }
.bank-details div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.bank-details dt { color: var(--muted); font-size: .84rem; }
.bank-details dd { margin: 0; color: var(--forest-2); font-weight: 700; text-align: right; }
.support-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.support-actions .button { flex: 1 1 260px; }
.quiet-button { border: 0; background: none; color: var(--forest); cursor: pointer; font-weight: 700; }
.quiet-button:hover { text-decoration: underline; text-underline-offset: .2rem; }
.support-status { min-height: 1.4rem; margin: .8rem 0 0; color: var(--forest); font-size: .82rem; font-weight: 700; }

@media (max-width: 860px) {
  .hero-story { max-width: 100%; }
  .team-section { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (max-width: 600px) {
  .nav-cta { max-width: 150px; padding: .55rem .7rem; font-size: .74rem; line-height: 1.15; white-space: normal; }
  .hero-story { margin-top: .8rem; font-size: .96rem; line-height: 1.58; }
  .intro-actions { align-items: stretch; gap: .35rem 1.2rem; }
  .intro-actions .hero-secondary { flex: 1 1 42%; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .team-card img { height: 170px; }
  .team-card h3 { padding: .8rem; font-size: .95rem; }
  .bank-details div { align-items: flex-start; flex-direction: column; gap: .1rem; }
  .bank-details dd { text-align: left; }
  .support-actions { align-items: stretch; flex-direction: column; }
  .support-actions .button { flex-basis: auto; width: 100%; }
}

/* Portada: composición editorial con el relato editable en un panel legible. */
.intro {
  min-height: 548px;
  padding: 38px clamp(28px, 4.2vw, 60px);
  align-items: center;
  background: #35133f;
}
.hero-image {
  width: 68%;
  height: 100%;
  object-position: center 25%;
}
.intro::before {
  background: linear-gradient(90deg, rgba(53, 19, 63, .94) 0%, rgba(53, 19, 63, .78) 35%, rgba(53, 19, 63, .28) 57%, rgba(53, 19, 63, 0) 76%);
}
.intro-copy {
  position: relative;
  z-index: 1;
  width: min(46%, 500px);
  max-width: none;
  padding: clamp(1.45rem, 2.6vw, 2rem);
  background: linear-gradient(145deg, rgba(52, 17, 65, .78), rgba(67, 24, 76, .67));
  border: 1px solid rgba(239, 218, 238, .18);
  border-radius: 1rem;
  box-shadow: 0 18px 42px rgba(18, 6, 25, .2);
  backdrop-filter: blur(3px);
}
.intro .eyebrow {
  margin-bottom: 1.1rem;
  color: #e8c483;
  font-size: .73rem;
  letter-spacing: .16em;
}
.intro .eyebrow span { width: 23px; background: #e8c483; }
.hero-story {
  max-width: none;
  margin: 0;
  color: rgba(255, 250, 255, .93);
  font-size: clamp(.88rem, 1.05vw, .98rem);
  line-height: 1.57;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
  hyphens: auto;
}
.intro-actions {
  align-items: center;
  gap: .45rem 1.35rem;
  margin-top: 1.55rem;
}
.intro-actions .button { min-height: 43px; padding: .62rem .95rem; font-size: .82rem; }
.intro-actions .hero-secondary { padding: .45rem 0; font-size: .8rem; }
.hero-caption { display: none; }

@media (max-width: 860px) {
  .intro { min-height: 540px; padding: 34px 28px; }
  .hero-image { width: 72%; object-position: center 23%; }
  .intro::before { background: linear-gradient(90deg, rgba(53, 19, 63, .95) 0%, rgba(53, 19, 63, .8) 39%, rgba(53, 19, 63, .24) 65%, rgba(53, 19, 63, 0) 84%); }
  .intro-copy { width: min(58%, 500px); padding: 1.45rem; }
  .hero-story { font-size: .89rem; line-height: 1.55; }
}

@media (max-width: 600px) {
  .intro {
    width: calc(100% - 24px);
    min-height: 0;
    padding: 300px 16px 16px;
    display: block;
    background: #35133f;
  }
  .hero-image {
    width: 100%;
    height: 360px;
    object-position: center 20%;
  }
  .intro::before {
    height: 360px;
    background: linear-gradient(0deg, rgba(53, 19, 63, .9) 0%, rgba(53, 19, 63, .3) 25%, rgba(53, 19, 63, 0) 56%);
  }
  .intro-copy {
    width: 100%;
    padding: 1.2rem 1rem;
    border-radius: .9rem;
    background: linear-gradient(145deg, rgba(52, 17, 65, .92), rgba(67, 24, 76, .88));
  }
  .intro .eyebrow { margin-bottom: .85rem; font-size: .68rem; }
  .hero-story {
    font-size: .91rem;
    line-height: 1.58;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    word-spacing: -.012em;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
  }
  .intro-actions { align-items: center; gap: .45rem 1rem; margin-top: 1.2rem; }
  .intro-actions .button { flex: 0 1 auto; min-height: 44px; }
  .intro-actions .hero-secondary { flex: 0 1 auto; padding: .45rem 0; font-size: .78rem; }
}
