/* ============================================================
   ProFood — landing page
   Кольори/шрифти винесені у змінні: міняй тут, щоб ребрендити.
   ============================================================ */
:root {
  --bg:        #ffffff;
  --cream:     #f5f2ec;
  --dark:      #1c1f1b;
  --ink:       #21211e;
  --muted:     #6f6e69;
  --accent:    #2f8f6b;   /* зелений акцент */
  --accent-d:  #266f54;
  --line:      #e7e3da;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 28px; }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: .2s ease; white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; }
.logo__dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important; font-weight: 600;
  border: 1.5px solid var(--ink); padding: 9px 20px; border-radius: 999px;
}
.nav__cta:hover { background: var(--ink); color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- placeholders (поки немає фото) ---------- */
.ph {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(120% 120% at 30% 20%, #e9efe6 0%, #dfe7da 40%, #cdd9c6 100%);
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-label);
  position: absolute; font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #7c8a76;
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--tall     { aspect-ratio: 3 / 4; }
.ph--square   { aspect-ratio: 1 / 1; }

/* ---------- hero ---------- */
.hero__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.hero__photo { position: relative; }
.hero__socials { display: flex; gap: 12px; margin-top: 20px; }
.hero__socials a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--muted); transition: .2s;
}
.hero__socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.hero__name { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 10px; }
.hero__role { font-size: 1.15rem; color: var(--muted); margin-bottom: 18px; }
.hero__motto { font-size: 1.1rem; margin-bottom: 18px; }
.hero__text p { color: #3b3b37; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- help ---------- */
.help__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.help__note { color: var(--muted); margin-bottom: 12px; }
.help__label { font-weight: 700; margin: 22px 0 14px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; font-weight: 500;
}

/* ---------- goal (band з фоном) ---------- */
.goal { position: relative; padding: 120px 0; overflow: hidden; }
.goal__bg {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #cdd9c6, #e3ddd0 50%, #d6c9b4);
  /* ЗАМІНИ за бажанням: background-image: url('../assets/food-bg.jpg'); background-size: cover; */
}
.goal__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,30,18,.12); }
.goal__card {
  position: relative; z-index: 1; max-width: 640px; margin-inline: auto;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: 20px; padding: 48px 44px; text-align: center;
  box-shadow: 0 24px 60px rgba(30,40,25,.18);
}
.goal__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; text-align: left; }
.goal__list li { position: relative; padding-left: 26px; color: #3b3b37; }
.goal__list li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.goal__cta-text { font-weight: 600; margin-bottom: 24px; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track {
  display: inline-flex; white-space: nowrap;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 500;
  animation: marquee 28s linear infinite;
}
.marquee__track span { padding-right: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- shared: eyebrow + section head ---------- */
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.hero__lead { font-size: 1.25rem; line-height: 1.5; margin-bottom: 16px; }

/* ---------- trust strip ---------- */
.trust { background: var(--ink); color: #fff; }
.trust__inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; padding: 30px 0; }
.trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.trust__label { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ---------- pains ---------- */
.pains__grid {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px 44px; max-width: 940px; margin-inline: auto;
}
.pains__grid li { position: relative; padding-left: 30px; font-size: 1.05rem; }
.dot { position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- approach cards ---------- */
.approach__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* ---------- pains as client quotes ---------- */
.quotes__grid {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px; max-width: 980px; margin-inline: auto;
}
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; color: var(--ink);
}

/* ---------- approach: holistic note ---------- */
.approach__holistic { margin-top: 48px; max-width: 700px; margin-inline: auto; text-align: center; }
.approach__holistic p { font-size: 1.15rem; margin-bottom: 18px; }
.approach__holistic .pills { justify-content: center; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 600;
}
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- services (price cards) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--accent); border-width: 2px; }
.price-card__badge {
  position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.8rem; margin-bottom: 8px; }
.price-card__for { color: var(--muted); margin-bottom: 20px; }
.ticks--sm { gap: 9px; margin-bottom: 20px; }
.ticks--sm li { font-size: .95rem; padding-left: 28px; }
.ticks--sm li::before { width: 16px; height: 16px; top: .35em; background-size: 10px; }
.price-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.price-card__price { font-family: var(--font-head); font-size: 2rem; font-weight: 600; margin-top: auto; }
.btn--full { width: 100%; }
.services__note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; margin: 0; }
.review blockquote { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; margin: 0 0 16px; }
.review figcaption { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__photo { max-width: 440px; }
.about__text h2 { margin-bottom: 18px; }
.about__text p { color: #3b3b37; margin-bottom: 14px; }
.about__text .pills { margin-top: 22px; }

/* ---------- faq ---------- */
.faq__inner { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq__item summary {
  font-family: var(--font-head); font-size: 1.3rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { color: var(--muted); margin-top: 14px; }

/* ---------- contact ---------- */
.section--dark { background: var(--dark); color: #fff; text-align: center; }
.contact__inner { max-width: 720px; margin-inline: auto; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.72); font-size: 1.1rem; margin-bottom: 34px; }
.contact__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--cream); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer__nav { display: flex; gap: 24px; }
.footer__nav a { color: var(--muted); font-size: .92rem; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { color: var(--muted); font-size: .85rem; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__cta { border: 0 !important; padding: 14px 0; text-align: left; }
  .nav-toggle { display: flex; }

  .hero__grid,
  .about__grid { grid-template-columns: 1fr; gap: 40px; }

  .hero__photo { max-width: 360px; }
  .about__photo { max-width: 420px; order: -1; }

  .section-head { margin-bottom: 40px; }
  .trust__inner { gap: 20px 32px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .hero__actions .btn,
  .contact__buttons .btn { width: 100%; }
}

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
