/* ==========================================================================
   Ege Zeytinyagli Mutfagi — Stylesheet
   Palette: warm white, sand, olive, turquoise, terracotta
   Typography: system-ui
   ========================================================================== */

/* ---------- Custom properties ---------- */
:root {
  --white:       #FFFFFF;
  --cream:       #FAF8F3;
  --cream-warm:  #F7F2E8;
  --sand:        #F0E8DA;
  --sand-dark:   #DED3BF;
  --olive:       #6B7F3B;
  --olive-light: #8FA75A;
  --olive-dark:  #4A5D23;
  --olive-muted: #A3B07A;
  --teal:        #2D9DA6;
  --teal-light:  #5BB8BF;
  --teal-pale:   #E8F5F6;
  --teal-deep:   #1A7A82;
  --terra:       #C66B3D;
  --terra-light: #D4915F;
  --terra-dark:  #A8532B;
  --terra-pale:  #F8EDE6;
  --brown:       #5C4A3A;
  --brown-light: #7A6655;
  --brown-deep:  #3E3128;
  --text:        #3A3530;
  --text-light:  #6B6158;
  --text-muted:  #9A8E82;
  --border:      #E0D8CC;
  --border-light:#EDE8DF;
  --shadow:      rgba(90, 74, 58, .08);
  --shadow-md:   rgba(90, 74, 58, .14);
  --shadow-lg:   rgba(90, 74, 58, .2);
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   16px;
  --max-w:       1140px;
  --header-h:    68px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
          'Segoe UI Emoji';
  --font-serif: Georgia, 'Times New Roman', serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
a:hover { color: var(--terra); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--teal-pale);
  color: var(--text);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -.02em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: .75em;
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: .5em;
}
h4 { font-size: 1.05rem; margin-bottom: .4em; }

p + p { margin-top: 1em; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.text-center { text-align: center; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Section ---------- */
.section {
  padding: 5rem 0;
  position: relative;
}
.section--alt {
  background: var(--sand);
}
.section--teal {
  background: var(--teal-pale);
}
.section--terra-accent {
  background: var(--terra-pale);
}

/* Decorative section heading */
.section-heading {
  text-align: center;
  position: relative;
  margin-bottom: 2.5rem;
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 0;
}
.section-heading h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  margin: .6rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--olive), var(--teal), var(--terra));
}

/* Ceramic mosaic divider */
.mosaic-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 1rem 0;
  opacity: .5;
}
.mosaic-divider span {
  display: block;
  border-radius: 2px;
}
.mosaic-divider .md-sq { width: 10px; height: 10px; }
.mosaic-divider .md-rect { width: 20px; height: 10px; }
.mosaic-divider .md-dot { width: 6px; height: 6px; border-radius: 50%; }

/* Wave dividers */
.wave-divider {
  width: 100%;
  height: 44px;
  display: block;
}
.wave-divider--sand { color: var(--sand); }
.wave-divider--cream { color: var(--cream); }
.wave-divider--teal { color: var(--teal-pale); }

/* Olive branch decorative separator */
.olive-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 2rem 0;
  color: var(--olive-muted);
}
.olive-sep::before,
.olive-sep::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--border);
}
.olive-sep svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s, border-color .3s;
}
.header--scrolled {
  box-shadow: 0 4px 20px var(--shadow-md);
  border-bottom-color: transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.header__logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* Section indicator */
.header__indicator {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  max-width: 160px;
  transition: color .3s;
}
.header__indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  animation: indicator-pulse 2s ease-in-out infinite;
}
@keyframes indicator-pulse {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}
.header__indicator-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .header__indicator { display: none; }
}

/* Nav */
.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  list-style: none;
  gap: .1rem;
  flex-wrap: wrap;
}
.nav__link {
  display: inline-block;
  padding: .35rem .55rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
  position: relative;
}
.nav__link:hover {
  color: var(--teal);
  background: var(--teal-pale);
}
.nav-link--active {
  color: var(--teal-deep);
  background: var(--teal-pale);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: .4rem;
  color: var(--brown);
  transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--teal); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hamburger line transitions */
.nav-toggle__line {
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.nav--open .nav-toggle__line--top {
  transform: translateY(6px) rotate(45deg);
}
.nav--open .nav-toggle__line--mid {
  opacity: 0;
}
.nav--open .nav-toggle__line--bot {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav__list {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 1rem;
    box-shadow: 0 12px 32px var(--shadow-md);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease, padding .4s ease;
  }
  .nav--open .nav__list {
    max-height: 500px;
    opacity: 1;
    padding: .5rem 1rem;
  }
  .nav__link {
    display: block;
    padding: .65rem .85rem;
    font-size: .95rem;
    border-radius: var(--radius-sm);
  }
}

/* ---------- Tech page header nav ---------- */
.tech-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: wrap;
}
.tech-nav__link {
  display: inline-block;
  padding: .4rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.tech-nav__link:hover {
  color: var(--teal);
  background: var(--teal-pale);
}
.tech-nav__link--active {
  color: var(--white);
  background: var(--teal);
  font-weight: 600;
}
.tech-nav__link--home {
  color: var(--olive);
  border: 1px solid var(--olive-muted);
}
.tech-nav__link--home:hover {
  background: rgba(107, 127, 59, .08);
  color: var(--olive-dark);
}

@media (max-width: 640px) {
  .tech-nav { gap: .15rem; }
  .tech-nav__link { font-size: .78rem; padding: .35rem .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(107, 127, 59, .06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 157, 166, .06) 0%, transparent 50%),
    linear-gradient(160deg, var(--cream) 0%, var(--sand) 40%, var(--teal-pale) 100%);
  overflow: hidden;
  text-align: center;
}
/* Decorative circles */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px dashed rgba(45, 157, 166, .12);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(107, 127, 59, .1);
  pointer-events: none;
}
.hero__title {
  margin-bottom: .5em;
  color: var(--brown);
  position: relative;
}
.hero__title span {
  color: var(--olive);
  position: relative;
}
.hero__title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(107, 127, 59, .15);
  border-radius: 3px;
  z-index: -1;
}
.hero__desc {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}
.hero__img {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 6px var(--shadow),
    0 12px 40px var(--shadow-md);
  border: 4px solid rgba(255, 255, 255, .7);
}

/* Ceramic tile decorative row */
.ceramic-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 2.5rem 0 .5rem;
}
.ceramic-tile {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  opacity: .45;
  transition: opacity .3s, transform .3s;
}
.ceramic-tile:nth-child(odd) {
  transform: rotate(2deg);
}
.ceramic-tile:nth-child(even) {
  transform: rotate(-2deg);
}
.ceramic-row:hover .ceramic-tile {
  opacity: .7;
}
.ceramic-tile--olive  { background: var(--olive); }
.ceramic-tile--terra  { background: var(--terra); }
.ceramic-tile--teal   { background: var(--teal); }
.ceramic-tile--sand   { background: var(--sand-dark); }

/* ---------- Content blocks ---------- */
.content-block {
  max-width: 780px;
  margin: 0 auto;
}
.content-block p {
  margin-bottom: 1.1em;
}
.content-block ul,
.content-block ol {
  margin: 1em 0 1em 1.5em;
}
.content-block li {
  margin-bottom: .4em;
}

/* Info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--teal));
}
.info-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--terra), var(--olive));
}
.info-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--teal), var(--terra));
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow-md);
}
.info-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: .85rem;
}
.info-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--brown);
}

/* Seasonal grid */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.season-card {
  background: var(--white);
  border-left: 4px solid var(--olive);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
  position: relative;
  transition: box-shadow .25s;
}
.season-card:hover {
  box-shadow: 0 4px 16px var(--shadow);
}
.season-card--spring { border-left-color: #7CB342; }
.season-card--summer { border-left-color: var(--terra); }
.season-card--autumn { border-left-color: #D4845A; }
.season-card--winter { border-left-color: var(--teal); }

.season-card__title {
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: .4rem;
  color: var(--brown);
}

/* ---------- Recipe section ---------- */
.recipe-filter-wrap {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.recipe-filter {
  width: 100%;
  padding: .85rem 1rem .85rem 2.8rem;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.recipe-filter:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 157, 166, .12);
  outline: none;
}
.recipe-filter-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  position: relative;
}
/* Alternating accent colors for cards */
.recipe-card:nth-child(3n+1) { border-top: 3px solid var(--olive-muted); }
.recipe-card:nth-child(3n+2) { border-top: 3px solid var(--teal-light); }
.recipe-card:nth-child(3n+3) { border-top: 3px solid var(--terra-light); }

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-md);
}
.recipe-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 2;
}
.recipe-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.recipe-card:hover .recipe-card__img-wrap img {
  transform: scale(1.04);
}
.recipe-card__body {
  padding: 1.35rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.recipe-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--olive-dark);
  background: rgba(107, 127, 59, .1);
  padding: .25rem .6rem;
  border-radius: 3px;
  margin-bottom: .65rem;
  align-self: flex-start;
}
.recipe-card__title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: .45rem;
  line-height: 1.3;
}
.recipe-card__desc {
  font-size: .92rem;
  color: var(--text-light);
  margin-bottom: 1.1rem;
  flex: 1;
  line-height: 1.65;
}

/* Recipe detail (expanded) */
.recipe-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s ease, opacity .4s ease;
}
.recipe-card.recipe-card--expanded .recipe-detail {
  max-height: 1200px;
  opacity: 1;
}
.recipe-detail__section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.recipe-detail__section h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--olive-dark);
  margin-bottom: .55rem;
  letter-spacing: .02em;
}
.recipe-detail__section ul,
.recipe-detail__section ol {
  margin: 0 0 0 1.3em;
  font-size: .92rem;
}
.recipe-detail__section li {
  margin-bottom: .35rem;
  line-height: 1.6;
}
.recipe-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: none;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font);
}
.recipe-card__toggle:hover {
  background: var(--teal);
  color: var(--white);
}
.recipe-card__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .25s;
}
.recipe-card--expanded .recipe-card__toggle svg {
  transform: rotate(180deg);
}
.recipe-allergen {
  display: inline-block;
  font-size: .78rem;
  color: var(--terra-dark);
  background: var(--terra-pale);
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-top: .6rem;
  border-left: 3px solid var(--terra);
}

.no-results {
  text-align: center;
  padding: 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Section images ---------- */
.section-img {
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 4px var(--shadow),
    0 8px 24px var(--shadow);
  border: 3px solid rgba(255, 255, 255, .8);
}

/* ---------- Sunum (presentation) ---------- */
.sunum-img {
  max-width: 700px;
  width: 100%;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px var(--shadow);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: .65rem;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s;
}
.faq-item:hover {
  box-shadow: 0 2px 10px var(--shadow);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background .2s, color .2s;
  gap: 1rem;
}
.faq-question:hover {
  background: rgba(45, 157, 166, .04);
  color: var(--teal-deep);
}
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal);
  transition: transform .25s;
}
.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] {
  border-bottom: 1px solid var(--border-light);
  background: var(--teal-pale);
}
.faq-answer {
  padding: .25rem 1.25rem 1.35rem;
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ---------- Policy sections ---------- */
.policy-section {
  max-width: 780px;
  margin: 0 auto;
}
.policy-section h3 {
  color: var(--olive-dark);
  margin-top: 1.75rem;
}
.policy-section h3:first-child {
  margin-top: 0;
}
.policy-section p,
.policy-section ul {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.75;
}
.policy-section ul {
  margin: .75em 0 .75em 1.5em;
}

/* Policy tables */
.policy-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.policy-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: .9rem;
}
.policy-table th,
.policy-table td {
  padding: .7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.policy-table th {
  background: var(--sand);
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
}
.policy-table td {
  color: var(--text-light);
}
.policy-table tbody tr:last-child td {
  border-bottom: none;
}
.policy-table tbody tr:hover {
  background: var(--teal-pale);
}

/* Policy summary cards on main page */
.policy-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.policy-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s;
}
.policy-card:hover {
  box-shadow: 0 4px 16px var(--shadow);
}
.policy-card h3 {
  color: var(--brown);
  margin-bottom: .5rem;
  font-size: 1.05rem;
}
.policy-card p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.policy-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.policy-card__link:hover {
  color: var(--terra);
}
.policy-card__link svg {
  width: 14px;
  height: 14px;
}

/* ---------- About ---------- */
.about-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about-block p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1.35rem;
}
.contact-info__icon {
  width: 24px;
  height: 24px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info__text {
  font-size: .95rem;
  color: var(--text);
}
.contact-info__text a {
  color: var(--teal);
}

/* Form */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brown);
}
.form-label .required { color: var(--terra); }
.form-input,
.form-textarea {
  padding: .75rem 1rem;
  font-size: .95rem;
  font-family: var(--font);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 157, 166, .1);
  outline: none;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.form-check input[type="checkbox"] {
  margin-top: .3rem;
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.form-check label {
  font-size: .85rem;
  color: var(--text-light);
  cursor: pointer;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(45, 157, 166, .25);
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--terra), var(--terra-dark));
  box-shadow: 0 4px 12px rgba(198, 107, 61, .25);
}
.form-submit:active { transform: scale(.97); }
.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Honeypot */
.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Form messages */
.form-message {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
}
.form-message--success {
  background: rgba(107, 127, 59, .08);
  color: var(--olive-dark);
  border: 1px solid rgba(107, 127, 59, .18);
}
.form-message--error {
  background: var(--terra-pale);
  color: var(--terra-dark);
  border: 1px solid rgba(198, 107, 61, .15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, .65);
  padding: 3rem 0 2.5rem;
  font-size: .88rem;
  text-align: center;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--teal), var(--terra), var(--olive));
}
.footer a {
  color: var(--teal-light);
}
.footer__links {
  margin-bottom: .5rem;
}
.footer__copy {
  margin-top: .5rem;
}
.footer__links a {
  text-decoration: none;
  margin: 0 .3rem;
}
.footer__links a:hover {
  color: var(--white);
}

/* ---------- Back to top ---------- */
.btt {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 90;
}
.btt--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.btt:hover {
  background: var(--terra);
}
.btt svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px var(--shadow-md);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  font-size: .9rem;
  color: var(--text);
  max-width: 600px;
  flex: 1 1 300px;
}
.cookie-banner__text a { color: var(--teal); }
.cookie-banner__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: .55rem 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border: 1px solid var(--teal);
}
.cookie-btn--accept {
  background: var(--teal);
  color: var(--white);
}
.cookie-btn--accept:hover { background: var(--olive); border-color: var(--olive); }
.cookie-btn--reject {
  background: var(--white);
  color: var(--teal);
}
.cookie-btn--reject:hover { background: var(--teal-pale); }
.cookie-btn--settings {
  background: var(--white);
  color: var(--text-light);
  border-color: var(--border);
}
.cookie-btn--settings:hover { background: var(--sand); }

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(58, 53, 48, .5);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1rem;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.cookie-modal__row:last-of-type { border-bottom: none; }
.cookie-modal__label {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}
.cookie-modal__label small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: .8rem;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-switch__slider {
  position: absolute;
  inset: 0;
  background: var(--sand-dark);
  border-radius: 24px;
  cursor: pointer;
  transition: background .2s;
}
.toggle-switch__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.toggle-switch input:checked + .toggle-switch__slider {
  background: var(--teal);
}
.toggle-switch input:checked + .toggle-switch__slider::before {
  transform: translateX(20px);
}
.toggle-switch input:disabled + .toggle-switch__slider {
  opacity: .6;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: .5rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .info-card,
  .recipe-card,
  .recipe-card__img-wrap img,
  .btt,
  .faq-question svg,
  .ceramic-tile {
    transition: none !important;
  }
  .header__indicator-dot { animation: none; }
  .recipe-detail {
    transition: none !important;
  }
  .nav-toggle__line {
    transition: none !important;
  }
  .nav__list {
    transition: none !important;
  }
}

/* ---------- Tech page body ---------- */
.tech-page-body {
  min-height: calc(100vh - var(--header-h) - 200px);
  padding: 3rem 0;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .recipe-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .season-grid { grid-template-columns: 1fr; }
  .policy-summary { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  .container { padding: 0 1rem; }
}

/* ---------- Print ---------- */
@media print {
  .header, .btt, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
  .section--alt, .section--teal { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
