/* =============================================================
   Budapest Cat Sitting — styles
   Palette: warm cream + sage green + terracotta
   Type: Montserrat (display) + Inter (body) + Caveat (accent doodles)
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  --cream:     #FBF8F3;
  --cream-2:   #F6F1E8;
  --white:     #FFFFFF;

  --ink:       #23272A;
  --ink-2:     #5C625D;
  --ink-3:     #8A8F88;

  --terra:     #C24A2C;
  --terra-d:   #A63D21;
  --terra-soft:#FBEDE7;

  --sage:      #97A883;
  --sage-d:    #6E8064;
  --sage-l:    #E7EDE1;
  --sage-mist: #F1F4ED;

  --gold:      #E6A93A;
  --line:      #ECE6DC;
  --line-2:    #E2DACD;

  --r-sm: 14px;
  --r:    20px;
  --r-lg: 28px;
  --pill: 999px;

  --shadow-sm: 0 6px 18px -12px rgba(60, 55, 35, .35);
  --shadow:    0 22px 48px -28px rgba(60, 55, 35, .40);
  --shadow-lg: 0 40px 80px -40px rgba(60, 55, 35, .45);

  --section: clamp(56px, 8vw, 108px);   /* breathing room, a touch more compact */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 44px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.018em;
}

::selection { background: var(--sage); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-d);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--sage); border-radius: 2px;
}

.section-head { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { justify-content: center; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 4.3vw, 3rem); margin-bottom: 14px; }
.section-head p { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); }

/* doodle script accent */
.script { font-family: "Caveat", cursive; }

/* ---------- Buttons (kept tidy, never full-width on desktop) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.005em;
  padding: .82em 1.5em;
  border-radius: var(--r-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(194, 74, 44, .8);
}
.btn-primary:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(194, 74, 44, .85); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-ghost:hover { background: var(--sage-mist); box-shadow: inset 0 0 0 1.5px var(--sage); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(60,55,35,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }

.brand { display: flex; align-items: center; gap: .65rem; font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--ink); }
.brand .brand-logo {
  display: block;
  width: clamp(150px, 18vw, 220px);
  max-height: 62px;
  object-fit: contain;
}
.brand .mark { width: 42px; height: 42px; flex: none; color: var(--terra); }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.04rem; letter-spacing: -0.01em; }
.brand .brand-text small { font-weight: 600; color: var(--sage-d); font-size: .98rem; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500; font-size: .95rem; color: var(--ink-2);
  position: relative; padding: .35rem 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--terra); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--sage-mist); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 6vw, 70px); padding-bottom: var(--section); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.15rem);
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--terra); }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 470px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 38px; }

.hero-points { display: flex; flex-direction: column; gap: 1.05rem; }
.hero-point { display: flex; align-items: center; gap: .9rem; font-weight: 500; color: var(--ink); }
.hero-point .ic {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: var(--sage-l); color: var(--sage-d);
  display: grid; place-items: center;
}
.hero-point .ic svg { width: 24px; height: 24px; }

.hero-tagline { display: flex; align-items: center; gap: .6rem; margin-top: 34px; color: var(--sage-d); }
.hero-tagline .script { font-size: 1.55rem; color: var(--terra); line-height: 1; transform: rotate(-3deg); }
.hero-tagline .heart { width: 22px; height: 22px; color: var(--terra); }

/* hero image / blob */
.hero-media { position: relative; }
.hero-media img { width: 150%; max-width: 840px; margin-inline: auto; transform: translateX(-8%); filter: drop-shadow(0 30px 50px rgba(110, 128, 100, .28)); }
.hero-media .glow {
  position: absolute; inset: 8% 4% 4% 4%; z-index: -1;
  background: radial-gradient(60% 55% at 55% 45%, rgba(151,168,131,.30), transparent 70%);
  filter: blur(20px);
}

/* ---------- "What we do" ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 20px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .ic {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--sage-l); color: var(--sage-d);
  display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.service-card:hover .ic { background: var(--sage); color: #fff; transform: scale(1.06) rotate(-4deg); }
.service-card .ic svg { width: 32px; height: 32px; }
.service-card .ic img.service-icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(43%) sepia(13%) saturate(640%) hue-rotate(59deg) brightness(95%) contrast(88%);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover .ic img.service-icon {
  filter: brightness(0) invert(1);
}

.service-card h3 { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* extras strip */
.extras {
  margin-top: clamp(22px, 3vw, 34px);
  background: var(--sage-mist);
  border: 1px solid var(--sage-l);
  border-radius: var(--r);
  padding: clamp(20px, 2.5vw, 30px) clamp(22px, 3vw, 38px);
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px 36px;
}
.extras-label {
  font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--sage-d);
  font-size: 1.05rem; padding-right: 14px;
}
.extras-items { display: flex; flex-wrap: wrap; gap: 16px 34px; flex: 1; }
.extra { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 500; font-size: .96rem; }
.extra .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; color: var(--sage-d); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.extra .ic svg { width: 22px; height: 22px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--sage-mist); }
.pricing::before, .about::after { content: none; }
.promo {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; color: var(--sage-d);
  border: 1px solid var(--sage-l);
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .95rem;
  padding: .6em 1.2em; border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}
.promo .star { width: 18px; height: 18px; color: var(--gold); }
.section-head .promo { margin-top: 22px; }

.price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 24px 28px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card .tag {
  align-self: flex-start;
  background: var(--sage-l); color: var(--sage-d);
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .82rem;
  padding: .35em .9em; border-radius: var(--pill); margin-bottom: 12px;
}
.price-card .visits { font-family: "Montserrat", sans-serif; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.price-card .amount { display: flex; align-items: baseline; gap: .4rem; margin: 8px 0 4px; }
.price-card .amount strong { font-family: "Montserrat", sans-serif; font-weight: 800; color: var(--terra); font-size: 2rem; letter-spacing: -0.02em; }
.price-card .amount span { color: var(--terra); font-weight: 600; font-size: .92rem; }
.price-card .note { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }

.price-notes { margin-top: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.price-note {
  display: flex; align-items: flex-start; gap: .8rem;
  border-radius: var(--r-sm); padding: 16px 20px; font-size: .96rem;
}
.price-note.good { background: #fff; border: 1px solid var(--sage-l); color: var(--ink); }
.price-note.info { background: var(--cream-2); border: 1px solid var(--line); color: var(--ink-2); }
.price-note .ic { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.price-note.good .ic { color: var(--sage-d); }
.price-note.info .ic { color: var(--ink-3); }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-note a {
  color: var(--terra);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.price-note a:hover { color: var(--terra-d); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
  gap: clamp(34px, 6vw, 80px);
}
.about-media { position: relative; display: grid; place-items: center; }
.about-media .blob {
  position: absolute; inset: 0; margin: auto; width: 86%; aspect-ratio: 1;
  background: var(--sage-l); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  z-index: -1;
}
.about-media img { width: min(90%, 420px); }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.about-copy > p { font-size: clamp(1.04rem, 1.5vw, 1.16rem); color: var(--ink-2); margin-bottom: 30px; max-width: 540px; }
.trust { display: flex; flex-wrap: wrap; gap: 26px 34px; }
.trust-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 150px; }
.trust-item .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--white); color: var(--sage-d); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.trust-item .ic svg { width: 28px; height: 28px; }
.trust-item h4 { font-size: .98rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.testi-card blockquote { color: var(--ink); font-size: 1.04rem; line-height: 1.6; font-style: italic; }
.testi-card .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.testi-card .who .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--sage-l); color: var(--sage-d);
  display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 700;
}
.testi-card .who b { font-family: "Montserrat", sans-serif; color: var(--ink); font-weight: 600; font-size: .98rem; }

/* ---------- Contact ---------- */
.contact { background: var(--sage-mist); }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: .85fr 1.15fr;
}
.contact-intro {
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-d) 100%);
  color: #fff; padding: clamp(36px, 5vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  position: relative; overflow: hidden;
}
.contact-intro h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.contact-intro p { color: rgba(255,255,255,.9); }
.contact-intro .script { font-size: 1.7rem; color: #fff; opacity: .95; transform: rotate(-3deg); }
.contact-intro .paw-deco { position: absolute; right: -20px; bottom: -20px; width: 160px; opacity: .14; color: #fff; }

.contact-form { padding: clamp(30px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: #fff;
  box-shadow: 0 0 0 4px rgba(151,168,131,.18);
}
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .privacy { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); font-size: .9rem; }
.form-foot .privacy svg { width: 18px; height: 18px; color: var(--sage-d); }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--sage-d); display: none; }
.form-note.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfd2cb; padding-block: clamp(28px, 4vw, 42px) 22px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; }
.footer .brand .brand-logo { width: clamp(150px, 18vw, 220px); max-height: 58px; object-fit: contain; }
.footer-about { max-width: 360px; }
.footer-about p { margin-top: 10px; color: #9ea49a; font-size: .9rem; line-height: 1.45; }
.footer-cols { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.footer-col h5 { font-family: "Montserrat", sans-serif; color: #fff; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.footer-col a, .footer-col p { display: block; color: #aab0a6; font-size: .92rem; margin-bottom: 7px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; color: #8b9087; font-size: .84rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: 620px; order: 1; }
  .hero-media { display: none; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: 2; }
  .about-copy { order: 1; }
  .about-media img { width: min(72%, 340px); }

  .testi-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-intro .paw-deco { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); margin-bottom: 16px; }
  .hero-lead { margin-bottom: 24px; }
  .date-range { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .extras { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-top { flex-direction: column; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--cream);
  display: flex; flex-direction: column; padding: 24px var(--pad);
  transform: translateX(100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu .mm-close { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); }
.mobile-menu .mm-close:hover { background: var(--sage-mist); }
.mobile-menu .mm-close svg { width: 28px; height: 28px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a:hover { color: var(--terra); }
.mobile-menu .btn { margin-top: 32px; }
body.no-scroll { overflow: hidden; }
