/* Pets in Turkey website. Colours come from the logo: lime and cyan, with navy for text. */
:root {
  --navy: #1e3a4c;
  --navy-2: #2b4d61;
  --cyan: #00a5c8;
  --cyan-deep: #00809f;
  --lime: #b2d235;
  --lime-deep: #9cbb22;
  --mist: #eef3f4;
  --paper: #ffffff;
  --ink-soft: #4f6472;
  --line: #d9e3e6;
  --alert: #e2672b;
  --alert-soft: #fdf0e8;
  --ok: #3c8d4f;
  --display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --body: 'Nunito', 'Segoe UI', Arial, sans-serif;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; }
h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.band { padding-block: clamp(48px, 7vw, 88px); }
.band-mist { background: var(--mist); }
.eyebrow { display: block; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 40em; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }
.stack > * + * { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s; color: var(--navy); background: var(--paper); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-orange { background: var(--alert); color: #fff; }
.btn-orange:hover { background: #c95520; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .animal-card, .tier { transition: none !important; } .btn:hover, .tier:hover, .animal-card:hover { transform: none !important; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 24px; font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; }
.nav a { color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; background: var(--mist); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(30,58,76,.16); padding: 8px; display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 800; }
.menu-panel a:hover { background: var(--mist); }
@media (min-width: 1040px) { .menu { display: none; } }
@media (max-width: 1039px) { .nav { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,58,76,.92) 0%, rgba(30,58,76,.62) 50%, rgba(30,58,76,.1) 100%); }
.hero-inner { position: relative; padding-block: clamp(70px, 11vw, 140px); }
.hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 58px); max-width: 13em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { font-size: 19px; max-width: 32em; margin-top: 20px; color: #e6eef1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-ghost { color: #fff; }
.page-hero { background: var(--mist); padding-block: clamp(40px, 6vw, 72px); }
.page-hero p { margin-top: 14px; }

/* Numbers */
.numbers { background: var(--navy); color: #fff; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 36px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: #c9d7dd; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; min-width: 0; }
.step-photo { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--mist); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-n { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-deep); }
.step h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.step p { color: var(--ink-soft); }
.cost { display: flex; align-items: baseline; gap: 10px; border-top: 2px solid var(--line); padding-top: 12px; }
.cost b { font-family: var(--display); font-weight: 900; font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost span { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }

/* Sponsor */
.sponsor { background: var(--cyan); color: #fff; }
.sponsor-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.sponsor h2, .sponsor .eyebrow { color: #fff; }
.sponsor .lead { color: #e7f7fb; margin-top: 16px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tier { display: grid; gap: 2px; background: #fff; color: var(--navy); border-radius: 14px; padding: 18px 20px; text-decoration: none; border: 3px solid transparent; transition: border-color .15s, transform .15s; }
.tier:hover { border-color: var(--lime); transform: translateY(-2px); }
.tier b { font-family: var(--display); font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.tier b small { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.tier span { font-weight: 700; color: var(--ink-soft); }
.tier.featured { border-color: var(--lime); }
.tier.featured::before { content: "Suggested"; justify-self: start; margin-bottom: 4px; font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 2px 8px; border-radius: 999px; }
.sponsor-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 15px; color: #e7f7fb; margin-top: 16px; }
.sponsor-foot a { font-weight: 800; color: #fff; }

/* Vet bill */
.goal { background: var(--alert-soft); border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; }
.goal h2 { font-size: clamp(22px, 2.8vw, 28px); }
.goal .eyebrow { color: var(--alert); }
.goal p { color: var(--ink-soft); margin-top: 10px; max-width: 38em; }
.goal-bar { grid-column: 1 / -1; display: grid; gap: 8px; }
.goal-track { height: 16px; border-radius: 999px; background: #f6d3bf; overflow: hidden; }
.goal-fill { height: 100%; background: var(--alert); border-radius: 999px; }
.goal-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.goal-legend b { color: var(--alert); }

/* Animal cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.animal-card { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.animal-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30,58,76,.12); }
.animal-photo { aspect-ratio: 1 / 1; background: var(--mist); display: block; overflow: hidden; }
.animal-photo img { width: 100%; height: 100%; object-fit: cover; }
.animal-body { display: grid; gap: 4px; padding: 16px 18px 20px; align-content: start; }
.animal-ready { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--mist); padding: 3px 10px; border-radius: 999px; }
.animal-ready.now { background: #e9f4c9; color: #4d6410; }
.animal-name { font-family: var(--display); font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.animal-facts { font-size: 15px; color: var(--ink-soft); }
.animal-note { font-size: 14px; font-weight: 700; color: var(--alert); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 800; font-size: 14px; border: 2px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.filters .count { margin-left: auto; font-weight: 700; color: var(--ink-soft); }
.empty { padding: 40px; text-align: center; color: var(--ink-soft); background: var(--mist); border-radius: var(--radius); }

/* Animal page */
.animal-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.carousel { position: relative; border-radius: 18px; overflow: hidden; background: var(--mist); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: 4 / 3; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(30,58,76,.2); display: grid; place-items: center; padding-bottom: 4px; }
.carousel-btn.prev { left: 12px; } .carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; box-shadow: 0 0 0 1px rgba(30,58,76,.25); }
.carousel-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 6px; }
@media (max-width: 560px) { .carousel-track { aspect-ratio: 1 / 1; } .carousel-btn { width: 38px; height: 38px; font-size: 24px; } }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--lime); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 24px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-weight: 700; }
.facts dd { margin: 0; font-weight: 800; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 800; text-decoration: none; }

/* Prose (blog, legal, about) */
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin-top: 1.8em; text-transform: none; letter-spacing: 0; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: 14px; margin-inline: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--ink-soft); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }

/* Blog list */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--navy); background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-card .cover { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.post-card time { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-deep); }
.post-card h3 { font-size: 19px; line-height: 1.3; }
.post-card p { font-size: 15px; color: var(--ink-soft); }
.post-meta { color: var(--ink-soft); margin-top: 12px; font-weight: 700; }

/* People and partners */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.person img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; width: 160px; margin-bottom: 14px; background: var(--mist); }
.person h3 { font-size: 19px; }
.person .role { color: var(--cyan-deep); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.person p { color: var(--ink-soft); margin-top: 8px; font-size: 16px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.logo-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--navy); background: #fff; }
.logo-card img { max-height: 80px; width: auto; object-fit: contain; }
.logo-card p { font-size: 15px; color: var(--ink-soft); }

/* Two columns and split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split img { border-radius: 18px; }
.care-bar { display: flex; height: 54px; border-radius: 10px; overflow: hidden; font-family: var(--display); font-weight: 800; font-size: 14px; }
.care-bar div { display: flex; align-items: center; padding: 0 14px; white-space: nowrap; }
.care-bar .care { background: var(--lime); color: var(--navy); }
.care-bar .other { background: var(--line); color: var(--ink-soft); justify-content: center; padding: 0; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.badge { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); text-decoration: none; }
.badge b { display: block; color: var(--navy); font-size: 15px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 24px; margin: 0; display: grid; gap: 16px; }
.form legend { font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; padding: 0 8px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 800; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--ink-soft); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=month], .field select, .field textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.field .req { color: var(--alert); }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.choices input { width: 20px; height: 20px; accent-color: var(--navy); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 12px; font-weight: 700; }
.notice.ok { background: #e9f4c9; color: #3f5410; }
.notice.err { background: var(--alert-soft); color: #9a3d10; }
.downloads { display: grid; gap: 10px; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 800; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d7dd; font-size: 15px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { margin-bottom: 16px; max-width: 26em; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h2 { font-size: 13px; letter-spacing: .14em; color: #fff; margin-bottom: 6px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px 28px; font-size: 14px; display: grid; gap: 6px; }
.legal a { color: #fff; }
.legal b { color: #fff; }

/* Phones and tablets */
@media (max-width: 900px) {
  .numbers .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; column-gap: 16px; align-items: start; }
  .step-photo { grid-row: span 4; aspect-ratio: 1 / 1; }
  .sponsor-grid, .split, .animal-page { grid-template-columns: 1fr; gap: 28px; }
  .goal { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(30,58,76,.5), rgba(30,58,76,.92)); }
  .hero p { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tiers, .badges, .row-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 88px minmax(0, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .animal-body { padding: 12px 12px 14px; }
  .animal-name { font-size: 17px; }
  .animal-facts { font-size: 13px; }
  .animal-ready { font-size: 10.5px; padding: 2px 8px; }
  .filters .count { margin-left: 0; width: 100%; }
  .prose { font-size: 17px; }
  .care-bar { font-size: 13px; }
}

/* Before and after photos (About us) */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2em; }
.before-after figure { margin: 0; }
.before-after img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prose .people, .prose .logos { margin-top: 2em; }

/* Photo grids inside blog posts */
.prose .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prose .gallery figure { margin: 0; }
.prose .gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
@media (max-width: 560px) { .prose .gallery { grid-template-columns: 1fr 1fr; } }

.animal-photo { position: relative; }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(30,58,76,.82); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
