/* ============================================================
   OliveOilExports — Custom styles
   Bootstrap 5 + EB Garamond (display) + Manrope (body)
   ============================================================ */

:root {
  --olive-deep: #2a3a1c;
  --olive-mid: #4a5d34;
  --olive-soft: #8b9d5c;
  --cream: #faf6ee;
  --cream-warm: #f1ead9;
  --sand: #e8dfca;
  --ochre: #b8924f;
  --ochre-light: #d4ac6c;
  --ochre-dark: #8e6d33;
  --ink: #1a1f15;
  --ink-soft: #4a4f44;
  --ink-faint: #7a7f74;

  --bs-body-font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-link-color: var(--olive-deep);
  --bs-link-hover-color: var(--ochre-dark);
  --bs-primary: var(--olive-deep);
}

/* ---------- Base ---------- */
html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 90px;
  font-size: 18px;  /* Base font size αυξημένο - κάθε rem γίνεται 18px */
}
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;  /* 22.5px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p {
  font-size: 1.2rem;  /* 21.6px */
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: "EB Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

/* Big display headings */
.display-hero {
  font-family: "EB Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500;
  font-size: clamp(4.5rem, 11vw, 11rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.display-hero em { font-style: italic; color: var(--ochre-light); font-weight: 500; }

.display-section {
  font-family: "EB Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-section em { font-style: italic; color: var(--ochre); font-weight: 500; }

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ochre);
}
.eyebrow.light { color: var(--ochre-light); }
.eyebrow.light::before { background: var(--ochre-light); }

.lead-large {
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink);
}

/* ---------- Language toggle ---------- */


html[lang="el"] [data-lang="en"],
html[lang="el"] [data-lang="it"] { display: none !important; }

html[lang="en"] [data-lang="el"],
html[lang="en"] [data-lang="it"] { display: none !important; }

html[lang="it"] [data-lang="el"],
html[lang="it"] [data-lang="en"] { display: none !important; }

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  padding: 1.1rem 0;
  transition: all 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled {
  padding: 0.6rem 0;
  border-bottom-color: rgba(26, 31, 21, 0.1);
  box-shadow: 0 2px 20px rgba(26, 31, 21, 0.04);
}
@media (min-width: 992px) {
  .navbar-custom.transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .navbar-custom.transparent .nav-link,
  .navbar-custom.transparent .navbar-brand,
  .navbar-custom.transparent .lang-btn { color: var(--cream) !important; }
  .navbar-custom.transparent .lang-btn-group { border-color: rgba(250, 246, 238, 0.4); }
  .navbar-custom.transparent .lang-btn.active { background: var(--ochre); color: var(--olive-deep) !important; }
}

.navbar-brand {
  font-family: "EB Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--olive-deep) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand img { width: 42px; height: 42px; border-radius: 6px; }
.navbar-brand strong { font-weight: 700; }

.navbar-nav .nav-link {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink) !important;
  padding: 0.5rem 1.1rem !important;
  position: relative;
  transition: color 0.2s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover { color: var(--ochre-dark) !important; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

.lang-btn-group {
  display: inline-flex;
  border: 1px solid rgba(26, 31, 21, 0.25);
  border-radius: 100px;
  overflow: hidden;
}
.lang-btn {
  padding: 0.5rem 1.1rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active { background: var(--olive-deep); color: var(--cream); }
.lang-btn:hover:not(.active) { background: rgba(26, 31, 21, 0.06); }

.navbar-toggler {
  border: 1px solid rgba(26, 31, 21, 0.25);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  background: rgba(250, 246, 238, 0.85);
  color: var(--ink);
  display: flex;
  align-items: center;
}
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(184, 146, 79, 0.25); }
.navbar-toggler:hover { background: var(--cream); }
.navbar-toggler svg { width: 1.7rem; height: 1.7rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  background: var(--olive-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(26, 31, 21, 0.55) 0%, rgba(26, 31, 21, 0.78) 100%),
    url('../../images/olive-grove.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184, 146, 79, 0.18) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 5rem;
}
.hero-tagline {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.55;
  color: rgba(250, 246, 238, 0.92);
  max-width: 46rem;
  border-left: 1px solid rgba(184, 146, 79, 0.55);
  padding-left: 1.5rem;
  margin: 2rem 0 2.8rem;
  font-weight: 300;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(250, 246, 238, 0.6);
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0.7rem auto 0;
  background: linear-gradient(180deg, rgba(250, 246, 238, 0.6), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 0.9; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 4rem 0;
  border-top: 1px solid rgba(250, 246, 238, 0.1);
}
.stat-item .stat-num {
  font-family: "EB Garamond", serif;
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  line-height: 1;
  color: var(--ochre);
  font-weight: 500;
  font-style: italic;
}
.stat-item .stat-num .unit {
  font-size: 0.4em;
  font-style: normal;
  color: rgba(250, 246, 238, 0.55);
  margin-left: 0.15em;
  letter-spacing: 0.05em;
  font-family: "Manrope", sans-serif;
}
.stat-item .stat-label {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.75);
  margin-top: 0.8rem;
}

/* ---------- Buttons ---------- */
.btn-olive {
  background: var(--ochre);
  color: var(--olive-deep);
  border: 0;
  padding: 1.15rem 2.4rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-olive:hover {
  background: var(--cream);
  color: var(--olive-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-olive svg { transition: transform 0.3s ease; }
.btn-olive:hover svg { transform: translateX(3px); }

.btn-outline-cream {
  background: transparent;
  color: var(--cream) !important;
  border: 1px solid rgba(250, 246, 238, 0.45);
  padding: 1.15rem 2.4rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.btn-outline-cream:hover { background: var(--cream); color: var(--olive-deep) !important; }

.btn-dark-olive {
  background: var(--olive-deep);
  color: var(--cream);
  border: 0;
  padding: 1.15rem 2.4rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-dark-olive:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.section-cream { background: var(--cream); }
.section-cream-warm { background: var(--cream-warm); }
.section-dark { background: var(--olive-deep); color: var(--cream); }
.section-dark p { color: rgba(250, 246, 238, 0.85); }

/* ---------- About ---------- */
.about-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--cream);
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.about-image-tag .lbl { color: var(--ink-faint); font-weight: 500; }
.about-image-tag .val { color: var(--olive-deep); }

.about-content p {
  font-size: 1.32rem;  /* ΑΥΞΗΜΕΝΟ - σημαντικό για readability */
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.about-content p:first-of-type::first-letter {
  font-family: "EB Garamond", serif;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--ochre);
  font-weight: 600;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26, 31, 21, 0.1);
}
.facility h5 {
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  margin-bottom: 0.8rem;
}
.facility p {
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 575px) { .facility-grid { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.feature-card {
  background: var(--cream);
  padding: 3rem 2.4rem;
  border: 1px solid rgba(26, 31, 21, 0.08);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--olive-deep);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s ease;
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card:hover .feature-num { color: var(--ochre); }
.feature-card:hover h3 { color: var(--cream); }
.feature-card:hover p { color: rgba(250, 246, 238, 0.9); }

.feature-num {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ochre-dark);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 1.1rem;
  color: var(--olive-deep);
  font-weight: 500;
  transition: color 0.3s ease;
}
.feature-card p {
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

/* ---------- Categories ---------- */
.cat-tabs {
  display: inline-flex;
  background: rgba(26, 31, 21, 0.05);
  padding: 0.4rem;
  border-radius: 100px;
  margin-bottom: 3.5rem;
}
.cat-tab {
  padding: 0.85rem 2rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-tab.active {
  background: var(--olive-deep);
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(42, 58, 28, 0.2);
}
.cat-tab:hover:not(.active) { color: var(--olive-deep); }

.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cat-card {
  background: var(--cream);
  padding: 2.6rem 2.2rem;
  height: 100%;
  border: 1px solid rgba(26, 31, 21, 0.08);
  transition: all 0.3s ease;
}
.cat-card:hover {
  border-color: var(--ochre);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(42, 58, 28, 0.08);
}
.cat-acidity {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--ochre);
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cat-acidity .small {
  font-size: 0.5em;
  color: var(--ink-faint);
  font-style: normal;
  letter-spacing: 0.1em;
  margin-left: 0.2em;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}
.cat-card h3 {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0.8rem 0 1.1rem;
  color: var(--olive-deep);
}
.cat-card p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Pomace section (dark) ---------- */
.pomace {
  background-image:
    linear-gradient(180deg, rgba(26, 31, 21, 0.85) 0%, rgba(26, 31, 21, 0.95) 100%),
    url('../../images/olive-branch.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
}

.pomace-list {
  list-style: none;
  padding: 0;
  margin: 2.8rem 0 0;
}
.pomace-list li {
  padding: 1.7rem 0;
  border-top: 1px solid rgba(250, 246, 238, 0.18);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.8rem;
  align-items: baseline;
}
.pomace-list li:last-child { border-bottom: 1px solid rgba(250, 246, 238, 0.18); }
.pomace-list .lbl {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--ochre);
  font-weight: 500;
}
.pomace-list .desc {
  color: rgba(250, 246, 238, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
}
@media (max-width: 575px) {
  .pomace-list li { grid-template-columns: 1fr; gap: 0.4rem; }
  .pomace-list .lbl { font-size: 1.6rem; }
  .pomace-list .desc { font-size: 1.15rem; }
}

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.3;
  color: var(--olive-deep);
  font-weight: 500;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
}
.pull-quote::before, .pull-quote::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--ochre);
  margin: 1.5rem auto;
}

/* ---------- Contact ---------- */
.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.8rem;
  padding: 1.2rem 0;
  align-items: start;
  border-top: 1px solid rgba(26, 31, 21, 0.08);
}
.info-row:first-of-type { border-top: 0; }
.info-row .lbl {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 0.3rem;
}
.info-row .val { font-size: 1.28rem; color: var(--ink); }
.info-row .val a {
  color: var(--olive-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 31, 21, 0.15);
  transition: border-color 0.2s ease;
}
.info-row .val a:hover { border-bottom-color: var(--olive-deep); }
@media (max-width: 575px) { .info-row { grid-template-columns: 1fr; gap: 0.3rem; } }

.map-wrap {
  margin-top: 2rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(26, 31, 21, 0.1);
  background: var(--cream-warm);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25) saturate(0.9); }

/* ---------- Form ---------- */
.contact-form {
  background: var(--cream-warm);
  padding: clamp(2.2rem, 4vw, 3.2rem);
  border: 1px solid rgba(26, 31, 21, 0.08);
}
.contact-form h3 {
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--olive-deep);
  margin-bottom: 0.6rem;
}
.contact-form .form-intro {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
}
.form-floating > .form-control,
.form-floating > .form-select {
  background: var(--cream);
  border: 1px solid rgba(26, 31, 21, 0.12);
  border-radius: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  padding-top: 1.65rem !important;
  padding-bottom: 0.65rem !important;
  min-height: 3.6rem;
}
.form-floating > .form-control:focus {
  border-color: var(--olive-deep);
  box-shadow: 0 0 0 0.15rem rgba(42, 58, 28, 0.1);
  background: #fff;
}
.form-floating > label {
  font-size: 1.1rem;
  color: var(--ink-faint);
  font-family: "Manrope", sans-serif;
}
.form-floating textarea.form-control { min-height: 140px; }

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  display: none;
  border-radius: 4px;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(74, 93, 52, 0.12); color: var(--olive-deep); border-left: 3px solid var(--olive-mid); }
.form-status.error { background: rgba(184, 80, 50, 0.12); color: #b85032; border-left: 3px solid #b85032; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2.2rem;
}
.site-footer h5 {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.5rem;
}
.site-footer p, .site-footer a, .site-footer li {
  color: rgba(250, 246, 238, 0.8);
  font-size: 1.15rem;
}
.site-footer a { text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--ochre); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 0.4rem 0; }
.footer-brand {
  font-family: "EB Garamond", serif;
  font-size: 2.2rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-brand strong { font-weight: 700; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  font-size: 1rem;
  color: rgba(250, 246, 238, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s ease; }
html.js-ready [data-reveal] { opacity: 0; transform: translateY(24px); }
html.js-ready [data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html.js-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--cream);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(26, 31, 21, 0.08);
  }
  .navbar-nav { gap: 0.4rem; }
  .navbar-nav .nav-link {
    font-size: 1.25rem;
    padding: 0.8rem 0.5rem !important;
    color: var(--ink) !important;
    border-bottom: 1px solid rgba(26, 31, 21, 0.06);
  }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-nav .nav-item:last-child .nav-link { border-bottom: 0; }

  .lang-btn-group { 
    margin-top: 1rem; 
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .lang-btn { 
    padding: 0.8rem 1.5rem; 
    font-size: 1.05rem;
    flex: 1;
    text-align: center;
  }

  .hero .container { padding-top: 6rem; padding-bottom: 4rem; }
  .hero-tagline { padding-left: 1rem; }

  .pomace-list li { 
    grid-template-columns: 1fr; 
    gap: 0.5rem; 
    padding: 1.4rem 0;
  }

  .info-row { grid-template-columns: 1fr; gap: 0.3rem; }

  .btn-olive, .btn-outline-cream, .btn-dark-olive { 
    padding: 1.1rem 2rem;
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero .container { padding-top: 7rem; }
  .feature-card { padding: 2.7rem 2.2rem; }
}

@media (max-width: 575px) {
  html { font-size: 17px; }
  body { font-size: 1.18rem; }
  p { font-size: 1.15rem; }
  
  .hero .container { padding-top: 5rem; padding-bottom: 3.5rem; }
  .display-hero { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .hero-tagline { font-size: 1.25rem; margin: 1.5rem 0 2rem; }
  .display-section { font-size: clamp(2.5rem, 9vw, 3.6rem); }
  .lead-large { font-size: 1.3rem; }
  
  .hero .d-flex.gap-3 { gap: 0.8rem !important; }
  .hero .d-flex.gap-3 .btn-olive,
  .hero .d-flex.gap-3 .btn-outline-cream {
    width: 100%;
    justify-content: center;
  }
  
  .stat-item .stat-num { font-size: 2.8rem; }
  .stat-item .stat-label { font-size: 0.78rem; }
  
  .feature-card { padding: 2.2rem 1.8rem; }
  .feature-card h3 { font-size: 1.6rem; }
  .feature-card p { font-size: 1.1rem; }
  
  .about-content p { font-size: 1.18rem; }
  
  .cat-card { padding: 2rem 1.6rem; }
  .cat-card h3 { font-size: 1.45rem; }
  .cat-acidity { font-size: 2.4rem; }
  .cat-card p { font-size: 1.08rem; }
  
  .cat-tabs { width: 100%; }
  .cat-tab { flex: 1; padding: 0.75rem 1rem; font-size: 0.95rem; }
  
  .pull-quote { font-size: 1.8rem; padding: 1rem 0; }
  
  .contact-form h3 { font-size: 1.8rem; }
  .contact-form .form-intro { font-size: 1.1rem; }
  
  .footer-brand { font-size: 1.8rem; }
  .site-footer p, .site-footer a, .site-footer li { font-size: 1.08rem; }
}

/* ============================================================
   COOKIE CONSENT BANNER + MODAL
   ============================================================ */

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: var(--cream);
  border-top: 1px solid rgba(26, 31, 21, 0.12);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cc-banner.cc-show { transform: translateY(0); }

.cc-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cc-banner-text h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive-deep);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.cc-banner-text p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50rem;
}

.cc-banner-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.cc-link {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: rgba(42, 58, 28, 0.3);
  text-underline-offset: 2px;
  font-weight: 500;
}
.cc-link:hover { text-decoration-color: var(--olive-deep); }

.cc-btn {
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cc-btn-primary {
  background: var(--olive-deep);
  color: var(--cream);
}
.cc-btn-primary:hover { background: var(--ink); }
.cc-btn-secondary {
  background: transparent;
  color: var(--olive-deep);
  border-color: rgba(26, 31, 21, 0.25);
}
.cc-btn-secondary:hover {
  background: var(--olive-deep);
  color: var(--cream);
  border-color: var(--olive-deep);
}

/* Modal */
.cc-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cc-modal-wrap.cc-show { opacity: 1; pointer-events: auto; }

.cc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 21, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.cc-modal {
  position: relative;
  background: var(--cream);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.cc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(26, 31, 21, 0.08);
}
.cc-modal-header h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--olive-deep);
  margin: 0;
}
.cc-modal-close {
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.cc-modal-close:hover { background: rgba(26, 31, 21, 0.06); color: var(--ink); }

.cc-modal-body {
  padding: 1.5rem 1.8rem;
  overflow-y: auto;
  flex: 1;
}
.cc-modal-intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.cc-cat {
  border: 1px solid rgba(26, 31, 21, 0.08);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  background: rgba(241, 234, 217, 0.4);
}
.cc-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.cc-cat-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.cc-cat-title strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--olive-deep);
  font-weight: 600;
}
.cc-cat-required {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  background: rgba(184, 146, 79, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.cc-cat-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Toggle switch */
.cc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cc-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 21, 0.2);
  border-radius: 100px;
  transition: background 0.25s ease;
}
.cc-toggle-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}
.cc-toggle input:checked + .cc-toggle-track {
  background: var(--olive-deep);
}
.cc-toggle input:checked + .cc-toggle-track::before {
  transform: translateX(20px);
}
.cc-toggle-disabled .cc-toggle-track {
  background: var(--olive-mid);
  opacity: 0.6;
  cursor: not-allowed;
}

.cc-modal-footer-note {
  font-size: 0.88rem;
  margin-top: 1rem;
  text-align: center;
}

.cc-modal-footer {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  padding: 1.2rem 1.8rem;
  border-top: 1px solid rgba(26, 31, 21, 0.08);
  background: rgba(241, 234, 217, 0.3);
  flex-wrap: wrap;
}

/* Footer legal links */
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.footer-legal-links a {
  color: rgba(250, 246, 238, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover { color: var(--ochre); }

/* Mobile */
@media (max-width: 767px) {
  .cc-banner { padding: 1.2rem 0; }
  .cc-banner-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  .cc-banner-text h3 { font-size: 1.3rem; }
  .cc-banner-text p { font-size: 0.92rem; }
  .cc-banner-buttons { flex-direction: column; align-items: stretch; }
  .cc-banner-buttons .cc-btn { width: 100%; text-align: center; }

  .cc-modal-header { padding: 1.2rem 1.4rem; }
  .cc-modal-body { padding: 1.2rem 1.4rem; }
  .cc-modal-footer { padding: 1rem 1.4rem; flex-direction: column-reverse; }
  .cc-modal-footer .cc-btn { width: 100%; text-align: center; }

  .footer-legal-links { gap: 1rem; flex-direction: column; }
}

/* ============================================================
   LEGAL PAGES (privacy, cookies)
   ============================================================ */
.legal-page {
  padding: 8rem 0 5rem;
  background: var(--cream);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h1 {
  font-family: "EB Garamond", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 500;
  color: var(--olive-deep);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.legal-content .last-updated {
  font-size: 0.95rem;
  color: var(--ink-faint);
  font-style: italic;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(26, 31, 21, 0.1);
}
.legal-content h2 {
  font-family: "EB Garamond", serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--olive-deep);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.legal-content h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--olive-deep);
  margin: 2rem 0 0.7rem;
}
.legal-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.legal-content ul, .legal-content ol {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: rgba(42, 58, 28, 0.3);
  text-underline-offset: 3px;
}
.legal-content a:hover { text-decoration-color: var(--olive-deep); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--cream-warm);
  border-radius: 8px;
  overflow: hidden;
}
.legal-table th, .legal-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(26, 31, 21, 0.08);
  font-size: 0.95rem;
  vertical-align: top;
}
.legal-table th {
  background: rgba(42, 58, 28, 0.06);
  font-weight: 600;
  color: var(--olive-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  background: rgba(26, 31, 21, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  color: var(--olive-deep);
}
@media (max-width: 575px) {
  .legal-table { font-size: 0.85rem; }
  .legal-table th, .legal-table td { padding: 0.7rem 0.8rem; }
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 31, 21, 0.1);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--olive-deep);
  text-decoration: none;
}
.legal-back:hover { color: var(--ochre-dark); }
