/* =====================================================================
   base.css — tokens, reset, typography and shared components
   Values measured from the original at 1440px (see docs/reference).
   ===================================================================== */

:root {
  /* colours (original design tokens) */
  --brown: #3c1402;        /* Dark */
  --brown-2: #481f0d;      /* footer pills, dark inputs */
  --red: #c00d00;          /* Primary */
  --orange: #df6c2d;       /* Accent */
  --orange-hot: #ff6b0c;   /* top bar */
  --red-hot: #e33529;
  --gray: #505962;         /* body text */
  --gray-50: #50596299;    /* placeholders */
  --tan: #c1a99e;          /* muted text on dark */
  --cream: #f3f3e9;        /* page background */
  --cream-2: #e4e4d4;      /* reviews background */
  --line: #ddddd2;
  --yellow: #f8d671;
  --white: #fff;

  --font-display: "Druk Wide", "Arial Black", sans-serif;
  --font-body: "Inter Display", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --container: 1300px;
  --gutter: 30px;
  --btn-h: 55px;
  --ease: cubic-bezier(.44, 0, .56, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4, h5, h6, figure { margin: 0; }
button { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; }
section { position: relative; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- accessibility ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--brown); color: var(--white); border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn:focus-visible, .nav__link:focus-visible { outline-offset: 4px; }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  background: #25d366; color: var(--white); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 14px; line-height: 1; font-weight: 600;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.wa-float .ico { width: 28px; height: 28px; }
@media (max-width: 809px) {
  .wa-float { right: 16px; bottom: 16px; height: 54px; width: 54px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- typography ---------- */
.display, .h1, .h2, .h5, .h6, .card__title, .hero__title, .review__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brown);
}
.h1 { font-size: 60px; line-height: 60px; }
.h2 { font-size: 40px; line-height: 40px; }
.h2--white, .h1--white { color: var(--white); }
.h5 { font-size: 32px; line-height: 32px; }
.h6 { font-size: 20px; line-height: 24px; }
.card__title { font-size: 18px; line-height: 18px; }
.text { font-size: 16px; line-height: 26px; color: var(--gray); }
.text--white { color: var(--white); }
.text--tan { color: var(--tan); }
.lead { font-size: 20px; line-height: 30px; color: var(--gray); }
.lead strong { font-weight: 700; }
.label { display: inline-block; font-size: 14px; line-height: 14px; font-weight: 500; text-transform: uppercase; color: var(--brown); }
.label--white { color: var(--white); font-weight: 400; }
.label b { color: var(--red); font-weight: 500; }
.accent { color: var(--orange); }

/* ---------- section head + paw marker ---------- */
.section-head { display: flex; flex-direction: column; gap: 20px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 660px; }
.paws { display: flex; gap: 5px; color: var(--red); }
.paws .ico { width: 14px; height: 14px; }
.paws .dim { opacity: .3; }
.paws--orange { color: var(--orange); }
.paws--white { color: var(--white); }

/* ---------- buttons ---------- */
.btn-group { display: flex; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn-h); padding: 19px 26px;
  background: var(--red); color: var(--white); border-radius: var(--radius);
  font-size: 14px; line-height: 16.8px; font-weight: 600; text-transform: uppercase;
  white-space: nowrap; transition: background .3s var(--ease);
}
.btn > span { position: relative; display: block; overflow: hidden; height: 16.8px; }
.btn i { display: block; font-style: normal; position: relative; transition: transform .5s var(--ease-out); }
.btn i::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover i, .btn-group:hover .btn i { transform: translateY(-100%); }
.btn:hover { background: #a80b00; }
.btn--brown { background: var(--brown); }
.btn--brown:hover { background: var(--brown-2); }
.btn-paw {
  width: var(--btn-h); height: var(--btn-h); flex: 0 0 auto; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background: var(--brown); color: var(--white); border-radius: var(--radius);
}
.btn-paw--white { background: var(--white); color: var(--brown); }
/* the three "walking" paws inside the icon button (26px main, 16px and 12px echoes) */
.paw-run, .paw-run::before, .paw-run::after {
  position: absolute; display: block; background: currentColor;
  -webkit-mask: url("../assets/img/icon-paw-mask.svg") center / contain no-repeat; mask: url("../assets/img/icon-paw-mask.svg") center / contain no-repeat;
}
.paw-run { width: 26px; height: 26px; left: 14px; top: 15px; transition: transform .5s var(--ease-out), opacity .5s; }
.paw-run::before { content: ""; width: 16px; height: 16px; left: -10px; top: -10px; opacity: 0; transition: opacity .4s .05s, transform .5s var(--ease-out); transform: translate(6px, 6px); }
.paw-run::after { content: ""; width: 12px; height: 12px; left: 26px; top: 20px; opacity: 0; transition: opacity .4s .1s, transform .5s var(--ease-out); transform: translate(-6px, -6px); }
.btn-group:hover .paw-run, .btn-paw:hover .paw-run { transform: rotate(-20deg) scale(.95); }
.btn-group:hover .paw-run::before, .btn-group:hover .paw-run::after, .btn-paw:hover .paw-run::before, .btn-paw:hover .paw-run::after { opacity: 1; transform: none; }

/* ---------- social icon boxes ---------- */
.social { display: flex; gap: 10px; }
.social a { width: 55px; height: 55px; border-radius: var(--radius); display: grid; place-items: center; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.social a:hover { transform: translateY(-3px); }
.social .ico { width: 20px; height: 20px; }
.social--cream a { background: var(--cream); color: var(--brown); }
.social--cream a:hover { background: var(--brown); color: var(--white); }
.social--sm a { width: 54px; height: 54px; border-radius: 10px; }
.social--dark a { width: 50px; height: 50px; border-radius: 10px; background: var(--brown); color: var(--white); border: 1px solid rgba(255,255,255,.14); }
.social--dark a:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- cards ---------- */
.card { border-radius: var(--radius); }
.card--white { background: var(--white); }
.card--brown { background: var(--brown); color: var(--white); }
.card--brown .card__title, .card--brown .h6, .card--brown .h2 { color: var(--white); }
.card__icon { width: 50px; height: 50px; }

/* ---------- checklists ---------- */
.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--gray); }
.checklist .ico { width: 18px; height: 18px; color: var(--orange); }
.ticks { display: flex; gap: 55px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 14px; text-transform: uppercase; color: var(--brown); }
.ticks .ico { width: 14px; height: 14px; color: var(--red); }

/* ---------- accent block (hover tabs with growing orange rule) ---------- */
.accent-block { max-width: 590px; cursor: pointer; }
.accent-block .h6 { padding-bottom: 20px; }
.accent-block .text { display: none; padding-bottom: 22px; }
.accent-block.is-active .text { display: block; }
.accent-block + .accent-block { margin-top: 20px; }
.rule { position: relative; height: 1px; background: var(--line); }
.rule__line { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.accent-block.is-active .rule__line.is-in { transform: scaleX(1); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 14px; }
.field input, .field textarea, .field select {
  height: 54px; width: 100%; padding: 14px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); color: var(--brown); outline: none;
  font-size: 16px; line-height: 26px; transition: border-color .25s;
}
.field textarea { height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-50); }
.field input:focus, .field textarea:focus { border-color: #df6c2d4d; }
.form-note { font-size: 14px; line-height: 20px; color: var(--gray); margin-top: 14px; }
.form-note.is-ok { color: var(--orange); }

/* ---------- accordion (FAQ) — closed row is 90px in the original: 30 + 24 + 35 + 1px rule ---------- */
.accordion { width: 800px; max-width: 100%; margin: 0 auto; }
.acc { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.acc.is-open { border-bottom-color: var(--orange); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 8px 35px 0; text-align: left; }
.acc.is-open .acc__btn { padding-bottom: 16px; }
.acc__icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--brown); border-radius: 10px; transition: transform .3s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.acc__panel .text { overflow: hidden; min-height: 0; max-width: 770px; }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc.is-open .acc__panel .text { padding-bottom: 30px; }

/* ---------- inner page hero banner ---------- */
.page-hero { padding-top: 220px; padding-bottom: 100px; background: var(--white); overflow: hidden; }
/* big pale paw decoration top-right of inner-page heroes (original: 531×592 at x=909 y=0, opacity .03) */
.hero-paw-bg { position: absolute; left: 909px; top: 0; width: 531px; height: 592px; opacity: .03; pointer-events: none; }
/* full-paw variant used by every inner page except About (original: 560×573 at x≈987–993, y≈-85) */
.hero-paw-bg--full { left: 987px; top: -85px; width: 560px; height: 573px; }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.page-hero .h1 { max-width: 900px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 14px; text-transform: uppercase; color: var(--brown); }
.breadcrumb .sep { width: 10px; height: 10px; border-radius: 50%; background: var(--red); opacity: .3; }
.breadcrumb .current { color: var(--red); font-weight: 500; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; width: 100%; }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track--slow { animation-duration: 40s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- reveal on scroll ---------- */
/* only hide reveal targets when JS is running (html.js is set by main.js); no-JS users see everything */
.js .fade-up { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .fade-up.is-in { opacity: 1; transform: none; }
.reveal-lines > span { display: block; animation: lineIn 1s var(--ease-out) both; }
.reveal-lines > span:nth-child(2) { animation-delay: .1s; }
.reveal-lines > span:nth-child(3) { animation-delay: .2s; }
@keyframes lineIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- responsive base ---------- */
@media (max-width: 1359px) {
  .page-hero { padding-top: 160px; }
  .h1 { font-size: 48px; line-height: 48px; overflow-wrap: anywhere; }
}
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  /* long Turkish words in Druk Wide: smaller sizes + allow breaking so nothing overflows a 350px column */
  .h1 { font-size: 36px; line-height: 36px; overflow-wrap: anywhere; }
  .h2 { font-size: 27px; line-height: 27px; overflow-wrap: anywhere; }
  .h5, .h6, .card__title { overflow-wrap: anywhere; }
  .h5 { font-size: 26px; line-height: 26px; }
  .h6 { font-size: 18px; line-height: 22px; }
  .page-hero { padding-top: 140px; padding-bottom: 60px; }
  .ticks { flex-direction: column; gap: 14px; }
  .acc__btn { padding: 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .fade-up { opacity: 1; transform: none; }
  [data-scrub] { --p: 1 !important; }
  .lines .w { opacity: 1 !important; transform: none !important; }
}

/* ---------- shared cards (service / team / post) — used on several pages ---------- */
.service-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border-radius: var(--radius); padding: 10px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(60, 20, 2, .06); }
.service-card__media { border-radius: 10px; overflow: hidden; }
.service-card__media img { width: 100%; height: 280px; aspect-ratio: 10 / 7; object-fit: cover; transition: transform .8s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.1); }
.service-card__body { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.service-card__body .h6 { display: flex; align-items: center; gap: 10px; }
.service-card__ico { width: 26px; height: 26px; color: var(--red); }
.service-card__body .text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 20px; }
.team-grid--home { margin-top: 60px; }
.team-card__img { display: block; aspect-ratio: 420 / 500; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.team-card:hover .team-card__img img { transform: scale(1.08); }
.team-card__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-top: 20px; }
.team-card__text { display: block; flex: 1 1 auto; min-width: 0; }
.team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 20px; text-transform: uppercase; color: var(--brown); transition: color .3s; }
.team-card__text:hover .team-card__name { color: var(--red); }
.team-card__role { margin-top: 10px; font-size: 14px; line-height: 18px; text-transform: uppercase; color: var(--gray); }

.post__img { display: block; overflow: hidden; border-radius: var(--radius); }
.post__img img { width: 100%; aspect-ratio: 640 / 420; height: auto; object-fit: cover; transition: transform .6s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.1); }
.post__meta { margin-top: 30px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 14px; text-transform: uppercase; color: var(--brown); }
.post__cat { color: var(--red); font-weight: 500; }
.post__meta .ico { width: 10px; height: 10px; color: var(--red); opacity: .3; }
.post .h6 { margin-top: 16px; }
.post .h6 a:hover { color: var(--red); }
.post .text { margin-top: 16px; }

/* ---------- WhatsApp button variant + light hours list ---------- */
.btn--wa { background: #25d366; gap: 8px; }
.btn--wa:hover { background: #1ebe5b; }
.btn--wa .ico { width: 18px; height: 18px; }
.hours { margin-top: 24px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; font-size: 16px; line-height: 16px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.08); }
.hours li:first-child { border-top: 0; padding-top: 0; }
.hours li:last-child { padding-bottom: 0; }
.hours li span:last-child { color: var(--tan); }
.hours--light li { border-top-color: var(--line); color: var(--brown); font-weight: 600; }
.hours--light li span:last-child { color: var(--gray); font-weight: 400; }
.checklist--light li { color: var(--tan); }
.checklist--light .ico { color: var(--orange); }

/* ---------- article furniture: byline, short answer, sources, disclaimer ---------- */
.byline { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; line-height: 20px; color: var(--gray); }
.byline a { color: var(--brown); font-weight: 600; }
.byline a:hover { color: var(--red); }
.answer { padding: 30px; display: grid; gap: 12px; border-left: 4px solid var(--orange); }
.answer .lead { color: var(--brown); }
.sources { margin-top: 16px; padding-left: 20px; list-style: decimal; display: grid; gap: 8px; }
.sources li { font-size: 14px; line-height: 22px; color: var(--gray); overflow-wrap: anywhere; }
.sources a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.sources a:hover { color: var(--red); }
.disclaimer { margin-top: 30px; padding: 16px 20px; border-radius: 10px; background: var(--cream-2); font-size: 14px; line-height: 22px; }

/* ---------- forms: two selects side by side + notes ---------- */
.form { padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233c1402' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form__note { font-size: 13px; line-height: 20px; color: var(--gray); }
.form__note a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.form__note b { color: var(--red); }
.form__emergency { font-size: 14px; line-height: 20px; color: var(--brown); font-weight: 600; }
.form__emergency a { color: var(--red); }

/* ---------- accordion variant for in-article FAQ (left aligned, full width) ---------- */
.accordion--left { width: 100%; margin: 16px 0 0; border-top: 1px solid var(--line); }
.acc__q { font-size: 16px; line-height: 22px; text-transform: none; font-family: var(--font-body); font-weight: 600; }
.acc__sources { margin-top: 12px; font-size: 13px; line-height: 20px; }
.acc__sources a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.acc__panel .text { max-width: none; }
.acc__panel .text p + p { margin-top: 8px; }

@media (max-width: 1359px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 809px) {
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid--home { margin-top: 40px; }
  .service-card__media img { height: auto; }
  .service-card__body .text { -webkit-line-clamp: unset; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .answer { padding: 20px; }
  .post__meta { margin-top: 20px; }
}

.btn--light { background: var(--cream); color: var(--brown); }
.btn--light:hover { background: var(--white); }
.team-grid--two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 50px 40px; }
@media (max-width: 809px) { .team-grid--two { grid-template-columns: 1fr; } }

/* ---------- scroll-linked motion (main.js writes --p: 0 → 1 on [data-scrub]) ---------- */
[data-scrub] { --p: 1; --q: calc(1 - var(--p)); transition: transform .5s var(--ease-out); will-change: transform; }
[data-fx="up"] { transform: translateY(calc(var(--d, 90px) * var(--q))); }
[data-fx="side"] { transform: translateX(calc(var(--d, 200px) * var(--q))); }
[data-fx="zoom"] { transform: translateY(calc(var(--d, 100px) * var(--q))) scale(calc(1 - (1 - var(--s, .7)) * var(--q))); transform-origin: center bottom; }
[data-fx="tilt-l"] { transform: rotate(calc(9deg * var(--q))) translate(calc(50px * var(--q)), calc(-50px * var(--q))); }
[data-fx="tilt-r"] { transform: rotate(calc(-9deg * var(--q))) translate(calc(-50px * var(--q)), calc(-50px * var(--q))); }
@media (max-width: 809px) {
  [data-fx="side"], [data-fx="tilt-l"], [data-fx="tilt-r"] { transform: none; }
}
/* headings: words rise line by line */
.js .lines .w { display: inline-block; opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--l, 0) * 110ms); }
.js .lines.is-in .w { opacity: 1; transform: none; }
.js .lines.fade-up { opacity: 1; transform: none; }
