/* Louise Ferreira Dietetics: site styles */
@font-face { font-family: "Raleway"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/raleway-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }


:root {
  --coral: #c9dd72;
  --coral-dark: #3f7652;
  --amber: #c9dd72;
  --purple: #3f7652;
  --teal: #9cc58a;
  --ink: #1d2b22;
  --text: #2f3a33;
  --muted: #56615a;
  --bg: #ffffff;
  --bg-alt: #f4f6ef;
  --line: #e1e7dc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 43, 34, .08);
  --max: 1160px;
  --font: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--font); padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid var(--coral-dark); background: var(--coral-dark); color: #fff; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #2f5e40; border-color: #2f5e40; color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--whatsapp { background: #177a41; border-color: #177a41; }
.btn--whatsapp:hover { background: #12613a; border-color: #12613a; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.05; }
.brand small { font-family: var(--font); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-dark); }
.nav .btn { color: #fff; padding: .75rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 34, 24, .88) 0%, rgba(18, 34, 24, .72) 50%, rgba(18, 34, 24, .38) 100%); }
@media (max-width: 760px) { .hero::after { background: rgba(18, 34, 24, .78); } } /* photo banners: keep the text readable on phones */
.hero__inner { padding: clamp(5rem, 14vw, 9.5rem) 0 clamp(4.5rem, 12vw, 8rem); max-width: 760px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--amber); }
.hero p { font-size: 1.2rem; color: rgba(255, 255, 255, .92); max-width: 620px; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero__facts li::before { content: "✓"; color: var(--amber); font-weight: 700; margin-right: .45rem; }
.hero--compact .hero__inner { padding: clamp(4rem, 10vw, 6.5rem) 0; }

/* Layout helpers */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr 1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

/* Cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--muted); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--ink); }
.card__icon svg { width: 26px; height: 26px; }
.card:nth-child(4n+1) .card__icon { background: #e6f0d2; }
.card:nth-child(4n+2) .card__icon { background: #dcebe0; }
.card:nth-child(4n+3) .card__icon { background: #f1f4e1; }
.card:nth-child(4n+4) .card__icon { background: #e3eee9; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(33, 33, 33, .12); }
.card__more { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--coral-dark); }

/* Gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* Caller */
.caller-quote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); border-left: 4px solid var(--coral); padding-left: 1.1rem; margin: 1.5rem 0; }

/* Pricing */
.price-card { max-width: 560px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3rem); text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--coral), var(--amber), var(--purple), var(--teal)); }
.price-card h3 { color: #fff; font-family: var(--font); font-weight: 600; font-size: 1.05rem; }
.price { font-family: var(--serif); font-size: clamp(3rem, 8vw, 4.2rem); font-weight: 700; color: #fff; line-height: 1; margin: .5rem 0 .25rem; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, .8); }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; color: rgba(255, 255, 255, .9); }
.price-card li::before { content: "✓"; color: var(--amber); margin-right: .5rem; font-weight: 700; }

/* Testimonials */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.9rem; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; color: var(--ink); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 3.2rem; line-height: .8; color: var(--coral); }
.quote figcaption { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink); }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bg-alt); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--coral-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; background: #fff; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #cfc7bc; border-radius: 12px; padding: .8rem .9rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral-dark); outline: 3px solid rgba(63, 118, 82, .25); outline-offset: 0; }
.req { color: var(--coral-dark); }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 500; }
.form-status--error { color: #a3240f; }
.form-turnstile { min-height: 65px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--coral-dark); flex: none; margin-top: .25rem; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { color: var(--text); }

/* CTA band */
.cta-band { background: var(--coral-dark); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 640px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1rem; color: rgba(255, 255, 255, .85); }
.breadcrumbs a { color: #fff; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .7; }

/* Footer */
.site-footer { background: #1d2b22; color: rgba(255, 255, 255, .78); padding: 3.5rem 0 6rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--font); font-weight: 600; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .3rem; }
.social-links a { display: inline-flex; align-items: center; gap: .4rem; }
.social-links svg { width: 18px; height: 18px; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
@media (min-width: 881px) { .site-footer { padding-bottom: 3rem; } }

/* Sticky mobile call-to-action */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-cta a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .6rem .25rem; font-size: .78rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-cta a:last-child { background: var(--coral-dark); color: #fff; }
.mobile-cta svg { width: 22px; height: 22px; }
@media (max-width: 880px) { .mobile-cta { display: grid; } }

/* Cookie consent */
.consent { position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto; background: var(--ink); color: #fff; padding: 1.1rem 1.25rem; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); font-size: .92rem; }
.consent a { color: var(--amber); }
.consent p { margin: 0 0 .8rem; }
.consent__actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent .btn { padding: .65rem 1.1rem; font-size: .9rem; }
.consent .btn--ghost { color: #fff; }
@media (max-width: 880px) { .consent { bottom: 76px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Dietetics additions */
.service { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.service + .service { margin-top: 1.5rem; }
.service .media-frame { aspect-ratio: 4 / 3; box-shadow: none; }
.service .tag { display: inline-block; background: #e6f0d2; color: var(--coral-dark); font-weight: 600; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .5rem; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } }
.pillars { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.pillar .emoji { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: .6rem; }
.pillar h3 { margin-bottom: .3rem; }
.pillar p { margin: 0; color: var(--muted); }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--coral-dark); color: #fff; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 600; }
.steps li::before { content: counter(s) ". "; color: var(--amber); }
.credentials { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.credentials li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 500; color: var(--ink); }
.paths { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
.path { background: #fff; border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.path p.topics { color: var(--coral-dark); font-weight: 600; font-size: .95rem; }
.path .btn { align-self: flex-start; margin-top: auto; }
.posts { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s ease; }
.post-card:hover { transform: translateY(-3px); }
.post-card .media-frame { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.post-card div.body { padding: 1.4rem; }
.post-card h3 { font-size: 1.35rem; }
.post-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.meta { font-size: .9rem; color: var(--muted); }
.article { max-width: 740px; margin: 0 auto; }
.article h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.article h3 { font-size: 1.45rem; margin-top: 1.6rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .35rem; }
.article .media-frame { margin: 0 0 2rem; aspect-ratio: 16 / 9; }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.author-box { display: flex; gap: 1.2rem; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 1.4rem; margin-top: 2rem; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 0; }
.testimonial-long { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); margin: 0 0 1.5rem; }
.testimonial-long blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); }
.testimonial-long blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 3.5rem; line-height: .7; color: var(--coral-dark); }
.testimonial-long figcaption { margin-top: 1rem; font-weight: 600; color: var(--coral-dark); }
.portrait { border-radius: 50%; aspect-ratio: 1; overflow: hidden; max-width: 380px; margin-inline: auto; box-shadow: var(--shadow); border: 6px solid #fff; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero .btn--light { color: var(--ink); }
.mt-2 { margin-top: 2rem; }
.mx-auto { margin-inline: auto; }
.toc { margin-bottom: 2.5rem; }
.h-service { font-size: 1.9rem; }
.meta--light { color: rgba(255, 255, 255, .85); }
.obj-portrait { object-position: 70% 35%; } /* Louise stands right of centre: keep her whole head inside the circle */
.obj-top { object-position: 50% 0; } /* tall portraits: crop from the bottom so the head stays in frame */
