/* Petbaman landing — palette from the logo: teal dog, orange cat, cream bellies. */
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --teal: #0e7a86;
  --teal-dark: #085868;
  --teal-soft: #e1f3f2;
  --orange: #f08838;
  --orange-dark: #c9631a;
  --orange-soft: #ffe9d6;
  --cream: #fbf3e6;
  --ink: #16323a;
  --muted: #5e7378;
  --line: #e1e9ea;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(8, 88, 104, 0.14);
  --shadow-sm: 0 6px 18px rgba(8, 88, 104, 0.1);
  --font-body: "Inter", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fredoka", "Vazirmatn", "Inter", system-ui, sans-serif;
}
html[lang="fa"] { --font-body: "Vazirmatn", "Inter", system-ui, sans-serif; --font-display: "Vazirmatn", "Fredoka", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--teal-dark); }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { font-weight: 800; line-height: 1.4; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--teal-dark); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(14, 122, 134, 0.28); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(240, 136, 56, 0.3); }
.btn-accent:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-ghost:hover { background: var(--teal-soft); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand-word { height: 26px; width: auto; }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang select { appearance: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--teal-dark); cursor: pointer; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2.5px; background: var(--teal-dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--teal-soft) 0%, var(--cream) 52%, #fff 100%); padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); background: var(--orange-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
html[lang="fa"] .eyebrow { letter-spacing: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.lead { font-size: 19.5px; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: var(--teal-dark); font-size: 15.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; flex: none; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.blob { position: absolute; width: 470px; height: 470px; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: radial-gradient(circle at 30% 30%, #fff 0%, var(--orange-soft) 45%, rgba(240, 136, 56, 0.25) 100%); filter: blur(2px); animation: drift 14s ease-in-out infinite alternate; }
.hero-mark { position: absolute; width: 250px; inset-inline-start: -10px; bottom: 6px; filter: drop-shadow(0 16px 26px rgba(8, 88, 104, 0.22)); z-index: 2; }
@keyframes drift { to { border-radius: 55% 45% 46% 54% / 46% 54% 46% 54%; transform: rotate(8deg) scale(1.03); } }

/* ---------- phone frame ---------- */
.phone { position: relative; width: 270px; border-radius: 38px; padding: 10px; background: #102c33; box-shadow: var(--shadow); }
.phone img { border-radius: 29px; width: 100%; aspect-ratio: 300 / 624; object-fit: cover; object-position: top; background: #fff; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 64px; height: 8px; border-radius: 6px; background: #102c33; z-index: 1; }
.phone-hero { transform: rotate(3deg); z-index: 1; margin-inline-start: 120px; }
html[dir="rtl"] .phone-hero { transform: rotate(-3deg); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--teal-soft); }
.section-cream { background: var(--cream); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); text-align: center; }
.section-lead { text-align: center; color: var(--muted); font-size: 18.5px; max-width: 40em; margin: 0 auto 48px; }
.left { text-align: start; margin-inline: 0; }

.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service h3 { font-size: 21px; margin-top: 16px; }
.service p { color: var(--muted); font-size: 15.5px; margin: 0; }
.service-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.overnight .service-icon { background: var(--teal-soft); } .overnight svg { stroke: var(--teal); }
.daytime .service-icon { background: var(--orange-soft); } .daytime svg { stroke: var(--orange-dark); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.step { text-align: center; }
.step .phone { margin: 0 auto 26px; width: 240px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-size: 20px; margin-bottom: 12px; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); max-width: 22em; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 0; }
.split-visual { position: relative; display: grid; place-items: center; }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 24px; }
.features li { display: flex; gap: 18px; }
.features h3 { font-size: 20px; margin-bottom: 4px; }
.features p { color: var(--muted); margin: 0; }
.feature-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--teal-soft); display: grid; place-items: center; }
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.note-card { position: absolute; bottom: 40px; inset-inline-start: 0; max-width: 250px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 4px; border-inline-start: 5px solid var(--orange); }
.note-card span { color: var(--muted); font-size: 14.5px; }
.sitter-art { width: min(380px, 80%); filter: drop-shadow(0 22px 34px rgba(8, 88, 104, 0.2)); }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat; }

.promo { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 52px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, var(--teal-dark), var(--teal) 60%, #12a0ac); box-shadow: var(--shadow); }
.promo h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.promo p { margin: 0; max-width: 38em; opacity: .92; }
.promo img { width: 140px; border-radius: 30px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); flex: none; }

details { background: #fff; border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--teal-dark); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--orange); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 8px; }

.download { background: radial-gradient(circle at 50% 0%, var(--cream), #fff 70%); }
.download-inner { text-align: center; display: grid; justify-items: center; gap: 6px; }
.download-inner img { width: 112px; border-radius: 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.download h2 { font-size: clamp(30px, 3.6vw, 44px); }
.download p { color: var(--muted); max-width: 34em; }
.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 10px 0 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; opacity: .85; text-align: start; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-weight: 500; font-size: 11.5px; opacity: .8; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-dark); color: #d8ecee; padding: 64px 0 26px; }
.site-footer .muted { color: #a9cbd0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.footer-grid a { display: block; color: #d8ecee; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-logo { width: 130px; background: #fff; border-radius: 22px; padding: 10px; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 22px; font-size: 14.5px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: var(--shadow-sm); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-actions .btn { display: none; }
  .header-actions { margin-inline-start: auto; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .phone-hero { margin-inline-start: 90px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo { flex-direction: column; text-align: center; padding: 36px 24px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service { padding: 18px 16px; }
  .blob { width: 340px; height: 340px; }
  .hero-mark { width: 170px; }
  .phone-hero { width: 230px; margin-inline-start: 70px; }
  .note-card { position: static; margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- shop ---------- */
.eyebrow.center { display: table; margin-inline: auto; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 36px 0 44px; }
.cat { display: grid; justify-items: center; gap: 10px; padding: 20px 10px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); font-weight: 600; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); display: grid; place-items: center; }
.cat-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--orange-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.shop-perks li { display: flex; gap: 18px; }
.shop-perks h3 { font-size: 20px; margin-bottom: 4px; }
.shop-perks p { color: var(--muted); margin: 0; }

/* ---------- sell ---------- */
.seller-card { width: min(380px, 100%); background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; display: grid; gap: 14px; }
.seller-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--cream); border-radius: 14px; }
.seller-row b { font-size: 18px; color: var(--teal-dark); }
.seller-row b.warn { color: var(--orange-dark); }
.seller-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 8px 4px 0; }
.seller-bars i { flex: 1; background: linear-gradient(180deg, var(--teal), var(--teal-dark)); border-radius: 8px 8px 3px 3px; }
.seller-bars i:last-child { background: linear-gradient(180deg, var(--orange), var(--orange-dark)); }

/* ---------- payment result ---------- */
.result { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, var(--teal-soft), var(--cream) 60%, #fff); }
.result-card { width: min(440px, 100%); background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 34px 28px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.result-card .logo { width: 120px; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; }
.result-icon svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.result-icon.ok { background: var(--teal); }
.result-icon.fail { background: #c0392b; }
.result-icon.refund { background: var(--orange); }
.result-card h1 { font-size: 24px; margin: 0; }
.result-card p { color: var(--muted); margin: 0; }
.result-facts { width: 100%; display: grid; gap: 8px; margin: 6px 0; }
.result-facts div { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--cream); border-radius: 12px; font-size: 15px; }
.result-card .btn { width: 100%; }

@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .shop-perks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
}
