/* =========================================================================
   Genny Italian — warm "Mediterranean editorial"
   Display: Alegreya · Body: Alegreya Sans  (full Greek + Latin coverage)
   Committed warm palette: cream paper · chocolate · terracotta · mustard
   ========================================================================= */

:root {
	/* Palette (warm, tinted neutrals — no pure #000/#fff for surfaces) */
	--g-paper: #fbf6ee;          /* page background, cream */
	--g-ink: #2b2521;            /* warm near-black text */
	--g-primary: #4a403a;        /* chocolate — bands, footer, anchors */
	--g-primary-dark: #352e29;
	--g-accent: #c1666b;         /* terracotta — decorative fills, tags, marks */
	--g-accent-ink: #9a4a52;     /* accessible terracotta — links, buttons, accents */
	--g-accent-hover: #823f46;
	--g-band: #a84b53;           /* drenched terracotta band (white text passes AA) */
	--g-gold: #f4a900;           /* mustard highlight */
	--g-beige: #efe2cf;          /* soft surface */
	--g-line: #e3d5c0;           /* warm hairline */
	--g-muted: #8a7d6e;          /* muted text */
	--g-white: #ffffff;          /* cards */

	--g-maxw: 1180px;
	--g-radius: 16px;
	--g-radius-sm: 12px;
	--g-shadow: 0 24px 70px rgba(74, 64, 58, 0.14);
	--g-shadow-sm: 0 10px 30px rgba(74, 64, 58, 0.10);

	--g-display: "Alegreya", Georgia, "Times New Roman", serif;
	--g-sans: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--g-header-h: 74px;
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--g-ink);
	background: var(--g-paper);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-accent-ink); text-decoration: none; }
a:hover { color: var(--g-accent-hover); }
h1, h2, h3, h4 {
	font-family: var(--g-display);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--g-ink);
}
:focus-visible { outline: 3px solid rgba(154, 74, 82, .5); outline-offset: 3px; border-radius: 4px; }

.genny-skip { position: absolute; left: -9999px; top: 0; background: var(--g-primary); color: #fff; padding: 10px 16px; z-index: 1000; }
.genny-skip:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--g-maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 860px; }

.section { padding: clamp(64px, 9vw, 128px) 0; scroll-margin-top: var(--g-header-h); }
.section--beige { background: var(--g-beige); }
.section--choc { background: var(--g-primary); color: #fff; }
.section--terra { background: var(--g-band); color: #fff; }
.section--choc .section__title, .section--terra .section__title { color: #fff; }

.section__title { font-size: clamp(2rem, 4.6vw, 3.3rem); overflow-wrap: break-word; }
.section__title--light { color: #fff; }

/* A deliberate, restrained section label system (a leading rule, lowercase) */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	letter-spacing: .04em;
	color: var(--g-muted);
	margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--g-accent); }

/* --------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--g-sans); font-size: 1rem; font-weight: 600;
	padding: 14px 26px; border-radius: var(--g-radius-sm);
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn--accent { background: var(--g-accent-ink); color: #fff; }
.btn--accent:hover { background: var(--g-accent-hover); color: #fff; box-shadow: var(--g-shadow-sm); }
.btn--primary { background: var(--g-primary); color: #fff; }
.btn--primary:hover { background: var(--g-primary-dark); color: #fff; box-shadow: var(--g-shadow-sm); }
.btn--ghost { background: transparent; color: var(--g-ink); border-color: var(--g-line); }
.btn--ghost:hover { background: var(--g-white); border-color: var(--g-ink); }
.section--choc .btn--ghost, .section--terra .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.section--choc .btn--ghost:hover, .section--terra .btn--ghost:hover { background: rgba(255,255,255,.14); }

/* Text link with animated underline + arrow */
.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; color: var(--g-accent-ink);
	position: relative;
}
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* highlighter mark behind a single word — never split across lines */
.mark { background: linear-gradient(transparent 62%, var(--g-gold) 0); padding: 0 .06em; white-space: nowrap; }

/* --------------------------------------------------------------- Header */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(251,246,238,.82);
	backdrop-filter: saturate(150%) blur(12px);
	-webkit-backdrop-filter: saturate(150%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--g-shadow-sm); border-color: var(--g-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--g-header-h); }
.site-brand { display: flex; align-items: baseline; gap: 9px; }
.site-brand__name { font-family: var(--g-display); font-size: 1.5rem; font-weight: 800; color: var(--g-primary); letter-spacing: -.03em; }
.site-brand__sub { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--g-accent); }

.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { font-size: .95rem; font-weight: 500; color: var(--g-ink); }
.primary-nav a:hover { color: var(--g-accent-ink); }
.primary-nav .nav-cta { background: var(--g-accent-ink); color: #fff; padding: 9px 18px; border-radius: var(--g-radius-sm); font-weight: 600; }
.primary-nav .nav-cta:hover { background: var(--g-accent-hover); }

.genny-langswitch { display: flex; gap: 10px; align-items: center; }
.genny-langswitch a { font-size: .82rem; font-weight: 600; color: var(--g-muted); text-transform: lowercase; }
.genny-langswitch a.is-active { color: var(--g-primary); }
.genny-langswitch a:hover { color: var(--g-accent-ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--g-ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding-bottom: clamp(48px, 7vw, 88px); }
/* let grid/flex children shrink below their longest word (prevents overflow) */
.hero__text, .hero__media, .about__grid > *, .lesson-row__main { min-width: 0; }
.hero__eyebrow { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--g-muted); margin: 0 0 20px; }
.hero__title { font-size: clamp(1.8rem, 5.6vw, 4.3rem); font-weight: 800; letter-spacing: -.02em; overflow-wrap: break-word; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--g-muted); max-width: 44ch; margin: 24px 0 32px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--g-radius); box-shadow: var(--g-shadow); }
.hero__tag {
	position: absolute; left: -18px; bottom: 30px;
	background: var(--g-primary); color: #fff;
	border-radius: var(--g-radius-sm); padding: 14px 18px; line-height: 1.05;
	box-shadow: var(--g-shadow-sm);
}
.hero__tag b { font-family: var(--g-display); font-weight: 800; font-size: 1.9rem; display: block; }
.hero__tag span { font-size: .8rem; color: #e8d9c3; letter-spacing: .03em; }

/* Trust strip */
.trust { background: var(--g-primary); color: #e8d9c3; }
.trust__inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 15px 0; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; }
.trust__inner i { color: var(--g-gold); font-style: normal; }

/* --------------------------------------------------------------- About */
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__media { position: relative; margin: 0; }
.about__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--g-radius); box-shadow: var(--g-shadow-sm); }
.about__sign { position: absolute; right: 16px; bottom: 12px; font-family: var(--g-display); font-style: italic; font-weight: 700; font-size: 2rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); transform: rotate(-6deg); }
.about__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--g-ink); margin: 16px 0 28px; max-width: 52ch; }
.stats { display: flex; border-top: 1px solid var(--g-line); }
.stat { flex: 1; padding: 18px 18px 0 0; }
.stat + .stat { border-left: 1px solid var(--g-line); padding-left: 20px; }
.stat__num { font-family: var(--g-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--g-accent-ink); line-height: 1; }
.stat__label { font-size: .86rem; color: var(--g-muted); margin-top: 6px; }

/* --------------------------------------------------------------- Lessons (editorial list) */
.lessons__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8px; }
.lessons__note { color: var(--g-muted); font-size: .98rem; margin: 0; max-width: 26ch; text-align: right; }
.lesson-list { list-style: none; margin: 0; padding: 0; }
.lesson-row {
	display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 34px);
	align-items: baseline; padding: clamp(20px, 2.6vw, 30px) 4px;
	border-top: 1px solid var(--g-line);
	transition: background-color .2s ease;
}
.lesson-list .lesson-row:last-child { border-bottom: 1px solid var(--g-line); }
.lesson-row:hover { background: rgba(154,74,82,.05); }
.lesson-row__no { font-family: var(--g-display); font-weight: 700; font-size: 1.2rem; color: var(--g-gold); }
.lesson-row__title { font-family: var(--g-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 4px; }
.lesson-row__text { color: var(--g-muted); margin: 0; font-size: .98rem; }
.lesson-row__arrow { color: var(--g-accent); width: 20px; height: 20px; transition: transform .25s ease; }
.lesson-row:hover .lesson-row__arrow { transform: translate(3px, -3px); }
.lessons__foot { margin-top: clamp(34px, 5vw, 52px); }

/* --------------------------------------------------------------- Process (drenched) */
.process .section__title { margin-bottom: clamp(30px, 5vw, 52px); max-width: 16ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 30px); }
.step__no { font-family: var(--g-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--g-gold); line-height: 1; }
.step__rule { display: block; height: 1px; background: rgba(255,255,255,.35); margin: 14px 0 14px; }
.step p { margin: 0; font-size: 1.02rem; color: #fbeede; }

/* --------------------------------------------------------------- Method (pull quote) */
.method__inner { text-align: center; }
.pullquote {
	font-family: var(--g-display); font-weight: 500;
	font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.18; letter-spacing: -.02em;
	margin: 0 auto; max-width: 20ch; color: var(--g-ink);
	quotes: "\201C" "\201D";
}
.pullquote::before { content: open-quote; color: var(--g-accent); }
.pullquote::after { content: close-quote; color: var(--g-accent); }
.method__points { list-style: none; margin: clamp(34px, 5vw, 50px) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.method__point { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .95rem; padding: 0 22px; }
.method__point + .method__point { border-left: 1px solid var(--g-line); }
.method__point i { color: var(--g-accent-ink); width: 18px; height: 18px; }

/* --------------------------------------------------------------- Pricing & booking section heads */
.section__head { max-width: 640px; margin: 0 0 clamp(34px, 5vw, 56px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__intro { color: var(--g-muted); font-size: 1.1rem; margin: 14px 0 0; }
.section--choc .section__intro, .section--terra .section__intro { color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------- FAQ */
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--g-line); }
.faq__list .faq__item:last-child { border-bottom: 1px solid var(--g-line); }
.faq__q {
	cursor: pointer; list-style: none; position: relative;
	font-family: var(--g-display); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700;
	padding: clamp(18px, 2.4vw, 26px) 44px clamp(18px, 2.4vw, 26px) 0;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--g-sans); font-size: 1.7rem; color: var(--g-accent); transition: transform .2s ease; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { color: var(--g-muted); padding: 0 44px 24px 0; max-width: 70ch; }

/* --------------------------------------------------------------- Final CTA + Contact */
.final-cta__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.final-cta .section__title { margin-bottom: 30px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--g-ink); }
.field input, .field textarea {
	font-family: var(--g-sans); font-size: 1rem; font-weight: 400;
	padding: 13px 16px; border: 1.5px solid var(--g-line); border-radius: var(--g-radius-sm);
	background: var(--g-white); color: var(--g-ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g-accent-ink); box-shadow: 0 0 0 3px rgba(154,74,82,.14); }
.contact-form .btn { align-self: flex-start; }
.contact__email { margin-top: 24px; color: var(--g-muted); }
.contact__social { display: flex; gap: 20px; margin-top: 14px; }
.contact__social a { font-weight: 600; }

.notice { border-radius: var(--g-radius-sm); padding: 14px 18px; margin-bottom: 18px; font-weight: 500; }
.notice--ok { background: #e9f3e6; color: #2f6b3a; border: 1px solid #c5e0bf; }
.notice--err { background: #fbe9e6; color: #9a3b2f; border: 1px solid #f0c8bf; }

/* --------------------------------------------------------------- Confirmation */
.confirmation { padding-top: clamp(80px, 12vw, 150px); }
.confirmation__card { text-align: center; background: var(--g-white); border: 1px solid var(--g-line); border-radius: var(--g-radius); box-shadow: var(--g-shadow); padding: clamp(36px, 6vw, 64px); }
.confirmation__icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--g-accent-ink); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.confirmation__title { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.confirmation__note { color: var(--g-muted); margin-top: 14px; }
.confirmation__meet { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.confirmation__meet span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--g-muted); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--g-primary-dark); color: #d9cdbd; }
.site-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding: clamp(48px, 7vw, 84px) 0 40px; }
.site-footer .site-brand__name { color: #fff; }
.site-footer__brand p { color: rgba(255,255,255,.7); margin: 12px 0 0; max-width: 32ch; }
.site-footer__nav, .site-footer__social { display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a, .site-footer__social a { color: #d3c6b5; }
.site-footer__nav a:hover, .site-footer__social a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------- Motion */
@keyframes g-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__text > * { animation: g-rise .7s cubic-bezier(.16,1,.3,1) backwards; }
.hero__text > *:nth-child(1) { animation-delay: .02s; }
.hero__text > *:nth-child(2) { animation-delay: .09s; }
.hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__text > *:nth-child(4) { animation-delay: .23s; }
.hero__media { animation: g-rise .8s cubic-bezier(.16,1,.3,1) .15s backwards; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { order: -1; max-width: 460px; }
	.hero__img { aspect-ratio: 16 / 11; }
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 360px; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: flex; }
	.primary-nav {
		position: fixed; inset: var(--g-header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
		background: var(--g-paper); padding: 14px 28px 22px; border-bottom: 1px solid var(--g-line);
		box-shadow: var(--g-shadow); transform: translateY(-120%); transition: transform .3s cubic-bezier(.16,1,.3,1); visibility: hidden;
	}
	.primary-nav.is-open { transform: translateY(0); visibility: visible; }
	.primary-nav a { padding: 13px 4px; border-bottom: 1px solid var(--g-line); }
	.primary-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }
	.genny-langswitch { margin-top: 12px; }
	.lessons__head { flex-direction: column; align-items: flex-start; }
	.lessons__note { text-align: left; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.steps { grid-template-columns: 1fr; }
	.contact-form__row { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.stats { flex-wrap: wrap; }
	.stat { flex: 1 0 40%; }
	.hero__tag { left: 12px; }
	.method__point { padding: 6px 0; }
	.method__point + .method__point { border-left: none; }
}

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