@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Prata&display=swap');

:root {
  --green: #123d2d;
  --green-2: #1d513d;
  --ink: #14231c;
  --cream: #f5f1e7;
  --paper: #fffdf8;
  --gold: #e6b85c;
  --gold-dark: #b9852e;
  --muted: #65736b;
  --line: rgba(20,35,28,.14);
  --serif: 'Prata', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 78px; padding: 0 max(20px, calc((100vw - 1160px)/2)); display: flex; align-items: center; gap: 34px; background: rgba(255,253,248,.96); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--green); color: var(--gold); font-family: var(--serif); font-size: 22px; }
.brand strong,.brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; letter-spacing: .04em; }
.main-nav { display: flex; gap: 18px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 13px; }
.main-nav a:hover { color: var(--gold-dark); }
.header-phone { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--green); }

.hero { min-height: 720px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--green); color: white; }
.hero-image,.hero-overlay { position: absolute; inset: 0; }
.hero-image { background: #85a96e url('assets/real-dietolog-logo.png') right center/auto 100% no-repeat; }
.hero-overlay { background: linear-gradient(90deg, rgba(12,43,31,.99) 0%, rgba(12,43,31,.94) 38%, rgba(12,43,31,.55) 62%, rgba(12,43,31,.10) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 88px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-size: 12px; font-weight: 700; }
.eyebrow.dark { color: var(--gold-dark); }
.eyebrow.light { color: #f0ca7f; }
h1,h2 { font-family: var(--serif); font-weight: 400; line-height: 1.14; letter-spacing: -.02em; }
h1 { font-size: clamp(46px, 6.4vw, 84px); max-width: 780px; margin: 0 0 28px; }
h2 { font-size: clamp(34px, 4.2vw, 56px); margin: 0 0 24px; }
h3 { line-height: 1.25; }
.hero-copy { max-width: 590px; font-size: 19px; color: rgba(255,255,255,.82); margin: 0 0 34px; }
.hero-actions,.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #17261e; }
.button-gold:hover { background: #f0c874; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); color: white; }
.microcopy { margin-top: 22px; color: rgba(255,255,255,.55); font-size: 12px; }
.proof-strip { width: min(1160px, calc(100% - 40px)); margin: -38px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); border-radius: 20px; background: var(--paper); box-shadow: 0 20px 60px rgba(15,44,33,.12); }
.proof-strip div { padding: 25px 28px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border: 0; }
.proof-strip strong,.proof-strip span { display: block; }
.proof-strip strong { color: var(--green); }
.proof-strip span { color: var(--muted); font-size: 13px; margin-top: 3px; }

.section { padding-block: 104px; }
.section-tint { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.lead-text { font-size: 19px; color: #3d4d45; }
.lead-text p:first-child { margin-top: 0; }
.section-title { max-width: 700px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 50px; }
.steps article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; min-height: 230px; }
.steps span,.recipe-cards span { color: var(--gold-dark); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.steps h3 { margin: 38px 0 8px; }
.steps p,.recipe-cards p { color: var(--muted); font-size: 14px; }
.program-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.program-card { border-radius: 26px; padding: clamp(30px, 5vw, 60px); }
.primary-card { background: var(--green); color: white; }
.primary-card h2 { max-width: 500px; }
.check-list { padding: 0; margin: 28px 0 38px; list-style: none; display: grid; gap: 14px; color: rgba(255,255,255,.84); }
.check-list li { padding-left: 27px; position: relative; }
.check-list li::before { content: '✓'; color: var(--gold); position: absolute; left: 0; font-weight: 700; }
.trial-card { background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.trial-card h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; margin: 22px 0 10px; }
.pill { align-self: start; color: var(--green); border: 1px solid rgba(18,61,45,.25); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.fineprint { color: var(--muted); font-size: 12px; }
.resource-heading { max-width: 760px; }
.resource-heading > p:last-child { color: var(--muted); font-size: 18px; }
.questionnaire-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 42px; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.resource-number { color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.resource-card h3 { margin: 34px 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.resource-card p { margin: 0 0 28px; color: var(--muted); }
.resource-card .button { margin-top: auto; }
.memo-section { padding-top: 0; }
.memo-card { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: clamp(32px,5vw,60px); border-radius: 26px; background: var(--green); color: white; }
.memo-card h2 { margin-bottom: 14px; }
.memo-card p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; }
.memo-card .button { white-space: nowrap; }
.results-section { background: #102f24; color: white; }
.results-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 90px; align-items: center; }
.results-heading h2 { max-width: 760px; }
blockquote { margin: 36px 0 16px; padding-left: 28px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: clamp(22px,3vw,34px); line-height: 1.45; }
.quote-author { color: rgba(255,255,255,.56); font-size: 13px; }
.result-number { border: 1px solid rgba(255,255,255,.15); border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; }
.result-number strong { font-family: var(--serif); color: var(--gold); font-size: clamp(54px,8vw,96px); line-height: 1; }
.result-number span { max-width: 180px; margin-top: 16px; color: rgba(255,255,255,.68); font-size: 13px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 56px; }
.review-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); }
.review-card p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.55; }
.review-card footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; background: transparent; color: inherit; font-size: 12px; }
.review-card footer span { color: rgba(255,255,255,.5); }
.reviews-note { margin: 24px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }
.photo-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.photo-heading > p { color: var(--muted); font-size: 18px; }
.photo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 46px; }
.photo-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); box-shadow: 0 14px 35px rgba(15,44,33,.08); }
.photo-grid a { display: grid; place-items: center; aspect-ratio: 1 / 1; background: #ece8de; }
.photo-grid img { width: 100%; height: 100%; display: block; object-fit: contain; }
.photo-grid figcaption { padding: 13px 16px 15px; color: var(--green); font-size: 12px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.photo-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.food-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.food-heading > p { color: var(--muted); font-size: 18px; }
.food-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.food-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 14px 35px rgba(15,44,33,.08); }
.food-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.food-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.food-gallery a:hover img { transform: scale(1.025); }
.food-gallery figcaption { min-height: 58px; padding: 16px 18px; color: var(--green); font-size: 14px; font-weight: 700; }
.food-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-list details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; padding-right: 36px; position: relative; }
.faq-list summary::after { content: '+'; position: absolute; right: 2px; top: -5px; font-size: 26px; color: var(--gold-dark); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { color: var(--muted); max-width: 700px; }
.contact-section { color: white; background: var(--green); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-grid > div:first-child > p:last-child { color: rgba(255,255,255,.7); max-width: 570px; }
.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 38px; }
.contact-phone { display: block; font-family: var(--serif); font-size: clamp(28px,4vw,45px); text-decoration: none; line-height: 1.2; }
.contact-card > span { display: block; color: rgba(255,255,255,.55); margin: 8px 0 30px; }
.text-link { color: #f0ca7f; text-underline-offset: 5px; }
footer { background: #0b241a; color: rgba(255,255,255,.52); font-size: 12px; }
.footer-inner { min-height: 88px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }

@media (max-width: 1050px) {
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  .header-phone { display: none; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 22px 20px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 18px; }
  .main-nav.open { display: flex; }
  .hero { min-height: 680px; }
  .hero-image { background-position: center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,43,31,.96), rgba(12,43,31,.68)); }
  .proof-strip { grid-template-columns: 1fr; margin-top: -25px; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .intro-grid,.program-grid,.results-heading,.photo-heading,.food-heading,.faq-grid,.contact-grid,.memo-card { grid-template-columns: 1fr; gap: 40px; }
  .result-number { width: 280px; }
  .photo-grid { grid-template-columns: repeat(3,1fr); }
  .food-gallery { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .wrap,.proof-strip { width: min(100% - 28px, 1160px); }
  .site-header { height: 70px; padding-inline: 14px; }
  .main-nav { top: 70px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 740px; align-items: end; }
  .hero-image { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(12,43,31,.99) 8%, rgba(12,43,31,.85) 60%, rgba(12,43,31,.28) 100%); }
  .hero-content { padding-block: 100px 58px; }
  h1 { font-size: clamp(40px,13vw,58px); }
  .hero-copy { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 74px; }
  .intro-grid { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .questionnaire-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; padding: 28px 22px; }
  .resource-card h3 { margin-top: 24px; font-size: 27px; }
  .resource-card .button,.memo-card .button { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .review-card { min-height: 0; padding: 26px 22px; }
  .review-card p { font-size: 18px; }
  .review-card footer { align-items: flex-start; flex-direction: column; gap: 2px; }
  .photo-grid { grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 32px; }
  .photo-grid figure { border-radius: 14px; }
  .photo-grid figcaption { padding: 10px 8px 12px; font-size: 10px; }
  .food-gallery { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .steps article { min-height: 180px; }
  .program-card { padding: 28px 22px; }
  .result-number { width: 220px; }
  .contact-card { padding: 26px 20px; }
  .contact-actions .button { width: 100%; }
  .footer-inner { padding-block: 24px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
