@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,300;0,400;0,700;1,400&family=Caveat:wght@500;700&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Great+Vibes&display=swap');

/* =========================================================
   Frostella — Alternative 4
   Mediterranean Editorial / Sun-bleached Gelateria
   ========================================================= */

:root {
  --parchment: #f8f3ea;
  --warm-white: #fffbf6;
  --limoncello: #f2d65a;
  --sky: #9bc4d8;
  --terra: #c66b4c;
  --terra-deep: #96432a;
  --olive: #7e885b;
  --olive-deep: #55603a;
  --stone: #d9cfc1;
  --ink: #2c2720;
  --sand: #eae3d8;
  --shadow: rgba(44, 39, 32, 0.08);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Alegreya Sans', 'Trebuchet MS', sans-serif;
  --font-hand: 'Caveat', 'Brush Script MT', cursive;
  --font-script: 'Great Vibes', 'Segoe Script', cursive;

  --max-width: 1280px;
  --space: clamp(1rem, 3vw, 2.5rem);
  --radius: 2px;
  --header-clearance: 6.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(16px, 1.15vw, 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
}

/* Paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--limoncello);
  color: var(--ink);
}

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

a {
  color: var(--terra-deep);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--limoncello);
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space);
  z-index: 10000;
  background: var(--ink);
  color: var(--warm-white);
  padding: .6rem 1rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.1;
  font-weight: 700;
}

h1, h2, h3 {
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

p {
  margin: 0 0 1em;
}

.text-hand {
  font-family: var(--font-hand);
}

/* =========================================================
   Layout
   ========================================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

section {
  position: relative;
  z-index: 1;
}

.section-padding {
  padding-top: clamp(4rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 22ch;
  scroll-margin-top: var(--header-clearance);
}

.section-title em {
  font-style: italic;
  color: var(--terra);
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background .4s ease, box-shadow .4s ease;
}

.site-header.scrolled {
  background: rgba(248, 243, 234, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(44, 39, 32, .06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  padding: .25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--terra-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-cta.btn {
  flex: none;
  white-space: nowrap;
  min-height: auto;
  padding: .55rem 1.15rem;
  font-size: .68rem;
}

@media (max-width: 760px) {
  .nav-cta.btn { display: none; }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 28px;
  height: 18px;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { bottom: 0; }

.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 4.2rem;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    background: var(--parchment);
    padding: 2.5rem var(--space);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear .45s;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
                visibility 0s linear 0s;
  }
  .nav-links a {
    display: block;
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-size: 1rem;
    padding: .85rem 0;
  }
}

body.nav-open {
  overflow: hidden;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .75rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

/* Inert placeholder buttons (e.g. "Ara (yakında)" until a phone number exists) */
.btn:disabled,
.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn-primary {
  background: var(--terra-deep);
  color: var(--warm-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(198, 107, 76, .35);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--warm-white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--limoncello);
}

.btn-ghost:hover {
  color: var(--terra-deep);
}

.link-todo {
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}

.todo-note {
  opacity: .75;
  font-style: italic;
}

/* =========================================================
   Mobile persistent action bar (yol tarifi + ara)
   ========================================================= */

.mobile-action-bar {
  display: none;
}

@media (max-width: 899px) {
  .mobile-action-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--warm-white);
    box-shadow: 0 -6px 24px rgba(44, 39, 32, .12);
    padding: .6rem var(--space) calc(.6rem + env(safe-area-inset-bottom));
    gap: .75rem;
  }
  .mobile-action-bar .btn {
    flex: 1;
    min-height: 48px;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: calc(var(--space) * 1.5);
  padding: calc(5.5rem + var(--space)) var(--space) var(--space);
  overflow: hidden;
}

/* Shorter hero for interior pages (e.g. menu) that lead straight into content */
.hero--menu {
  min-height: 55vh;
}

.hero::before {
  content: '';
  position: absolute;
  right: -15%;
  top: -15%;
  width: 65vw;
  height: 65vw;
  background:
    radial-gradient(circle at 35% 35%, var(--limoncello) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, var(--sky) 0%, transparent 50%);
  opacity: .32;
  filter: blur(60px);
  z-index: -1;
  animation: sunGlow 9s ease-in-out infinite alternate;
}

@keyframes sunGlow {
  from { transform: scale(1) rotate(0deg); opacity: .28; }
  to { transform: scale(1.08) rotate(8deg); opacity: .4; }
}

.hero-content {
  max-width: 640px;
}

.hero-note {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--terra-deep);
  transform: rotate(-2deg);
  margin-bottom: .75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 6.8rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.04em;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title em {
  color: var(--terra);
  font-style: italic;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 42ch;
  margin-bottom: 2rem;
  color: var(--ink);
  opacity: .9;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-still {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  background:
    var(--sand)
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='18' cy='18' r='8' fill='%23c66b4c' opacity='.25'/%3E%3Ccircle cx='95' cy='35' r='12' fill='%237e885b' opacity='.25'/%3E%3Ccircle cx='55' cy='95' r='15' fill='%239bc4d8' opacity='.25'/%3E%3Ccircle cx='105' cy='95' r='6' fill='%23f2d65a' opacity='.35'/%3E%3Cpath d='M0 60h120' stroke='%23d9cfc1' stroke-width='1' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  border: 10px solid var(--warm-white);
  box-shadow: 0 28px 70px rgba(44, 39, 32, .14);
  overflow: hidden;
}

.hero-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: var(--warm-white);
  padding: .8rem 1.4rem;
  box-shadow: 0 12px 30px rgba(44, 39, 32, .1);
  transform: rotate(-4deg);
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--terra);
}

.sun-icon {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 140px;
  height: 140px;
  color: var(--limoncello);
  animation: spinSun 28s linear infinite;
}

@keyframes spinSun {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
  }
  .hero-still {
    max-width: 380px;
    margin: 0 auto;
  }
  .sun-icon {
    width: 90px;
    height: 90px;
    top: -1rem;
    right: -1rem;
  }
}

/* =========================================================
   Editorial cards
   ========================================================= */

.editorial-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.editorial-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--warm-white);
  box-shadow: 0 24px 70px var(--shadow);
  overflow: hidden;
}

.editorial-card:nth-child(even) .editorial-media {
  order: 2;
}

.editorial-media {
  min-height: clamp(320px, 40vw, 520px);
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.editorial-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}

.editorial-card:hover .editorial-media img {
  transform: scale(1.04);
}

.editorial-body {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.editorial-label {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--olive-deep);
  margin-bottom: .75rem;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.editorial-text {
  opacity: .85;
  margin-bottom: 1.5rem;
}

.price-tag {
  font-family: var(--font-hand);
  color: var(--terra);
  font-size: 1.9rem;
  transform: rotate(-3deg);
  display: inline-block;
}

@media (max-width: 900px) {
  .editorial-card {
    grid-template-columns: 1fr;
  }
  .editorial-card:nth-child(even) .editorial-media {
    order: 0;
  }
  .editorial-media {
    min-height: 280px;
  }
}

/* =========================================================
   Menu
   ========================================================= */

.menu-category {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.menu-category-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--sand);
  padding-bottom: .75rem;
  scroll-margin-top: var(--header-clearance);
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.menu-category-note {
  font-family: var(--font-hand);
  color: var(--terra-deep);
  font-size: 1.5rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  transition: transform .2s ease, box-shadow .2s ease;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--shadow);
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.menu-item-desc {
  font-size: .92rem;
  opacity: .7;
  line-height: 1.45;
}

.menu-item-price {
  font-family: var(--font-hand);
  color: var(--terra);
  font-size: 1.7rem;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-left: .4rem;
  vertical-align: middle;
}

.badge-gluten-free {
  background: var(--olive);
  color: var(--warm-white);
}

.badge-new {
  background: var(--limoncello);
  color: var(--ink);
}

.badge-fav {
  background: var(--sky);
  color: var(--ink);
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  background: var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .65s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(44, 39, 32, .65), transparent);
  color: var(--warm-white);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Touch / no-hover devices can't reveal captions on hover — show them by default */
@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}
@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
}

/* =========================================================
   Contact / Info cards
   ========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--warm-white);
  padding: 1.75rem;
  border-top: 4px solid var(--limoncello);
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: .75rem;
}

.info-card p,
.info-card a {
  font-size: .95rem;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
}

.info-card a {
  display: inline-block;
  padding: .6rem 0;
}

.info-card a:hover {
  color: var(--terra-deep);
  text-decoration: underline;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--stone);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-note {
  font-family: var(--font-hand);
  color: var(--terra-deep);
  font-size: 1.15rem;
  margin-top: .75rem;
}

/* Contact CTA panel replacing the non-functional form */
.contact-cta-panel {
  background: var(--warm-white);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.contact-cta-panel .btn {
  width: 100%;
}

.contact-cta-secondary {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .95rem;
}

/* =========================================================
   Editorial alternatives to cloned card grids
   ========================================================= */

/* "Öne çıkan + destek": one featured panel, rest as a compact list */
.feature-highlight {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

@media (max-width: 800px) {
  .feature-highlight { grid-template-columns: 1fr; }
}

.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 1.75rem;
  color: var(--warm-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.feature-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 39, 32, .78), rgba(44, 39, 32, .1) 60%);
}

.feature-panel > * {
  position: relative;
  z-index: 1;
}

.feature-panel h3 {
  color: var(--warm-white);
  margin-bottom: .5rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: baseline;
  gap: .9rem;
}

.feature-list li:first-child { padding-top: 0; }
.feature-list li:last-child { border-bottom: none; }

.feature-list h3 {
  font-size: 1.05rem;
  margin: 0;
  flex: none;
  min-width: 8.5rem;
}

.feature-list p {
  margin: 0;
  opacity: .8;
  font-size: .95rem;
}

/* Kartsız işaretli liste (glutensiz özet) */
.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(126, 136, 91, .25);
}

.check-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-list p {
  margin: 0;
}

/* Editoryal tam genişlik satırlar (hakkımızda değerler) */
.value-rows {
  display: flex;
  flex-direction: column;
}

.value-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--stone);
}

.value-row:first-child { padding-top: 0; }
.value-row:last-child { border-bottom: none; padding-bottom: 0; }

.value-row h3 { margin: 0; }
.value-row p { margin: 0; max-width: 58ch; }

.tip-list {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.tip-list li {
  margin-bottom: .5rem;
}

/* Visible FAQ (mirrors FAQPage JSON-LD) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 68ch;
}

.faq-item {
  border-bottom: 1px solid var(--stone);
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.faq-item p {
  margin: 0;
  opacity: .85;
}

@media (max-width: 640px) {
  .value-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* =========================================================
   Blog
   ========================================================= */

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 45px var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(44, 39, 32, .12);
}

.blog-card-media {
  aspect-ratio: 4 / 3;
  background: var(--stone);
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terra-deep);
  margin-bottom: .6rem;
  font-weight: 700;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: .75rem;
  line-height: 1.15;
}

.blog-card-excerpt {
  font-size: .95rem;
  opacity: .8;
  flex: 1;
}

.article-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: var(--sand);
}

.article-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 20ch;
}

.article-meta {
  margin-top: 1rem;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--terra-deep);
}

.article-content {
  max-width: 72ch;
  margin: 0 auto;
  padding: 3rem var(--space) 5rem;
  font-size: 1.08rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.article-content h2 {
  margin-top: 2.5rem;
}

.article-content blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 2rem 1.5rem 3.25rem;
  border: 1px solid var(--sand);
  background: var(--warm-white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
}

.article-content blockquote::before {
  content: '\201C';
  position: absolute;
  left: 1rem;
  top: .6rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--terra-deep);
}

/* =========================================================
   Decorative rules & separators
   ========================================================= */

.rule {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--terra), transparent);
  margin: 2rem 0;
}

.rule-left {
  background: linear-gradient(to right, var(--terra), transparent);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--sand);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: var(--parchment);
  padding: clamp(3rem, 8vw, 5rem) var(--space) 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  color: var(--warm-white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: .75;
  max-width: 32ch;
  font-size: .95rem;
}

.footer-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--limoncello);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: .1rem;
}

.footer-links a {
  display: inline-block;
  padding: .6rem 0;
  color: var(--parchment);
  opacity: .8;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease, opacity .2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--limoncello);
}

.socials {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 243, 234, .35);
  border-radius: 50%;
  color: var(--parchment);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.socials a:hover {
  background: var(--limoncello);
  color: var(--ink);
  border-color: var(--limoncello);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 243, 234, .12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  opacity: .6;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================================
   Utilities
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

.bg-sand { background: var(--sand); }
.bg-sky { background: var(--sky); }
.bg-stone { background: var(--stone); }
.bg-olive { background: var(--olive-deep); color: var(--warm-white); }
.bg-olive .section-title em,
.bg-olive .hero-title em { color: var(--limoncello); }
.bg-terra { background: var(--terra-deep); color: var(--warm-white); }

.text-center { text-align: center; }
.text-terra { color: var(--terra-deep); }
.text-limoncello { color: var(--limoncello); }

.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }

/* =========================================================
   Animations & scroll reveal
   Content is visible by default (no JS, crawlers, headless render).
   Animation is an additive enhancement gated on html.js — see js/main.js,
   which adds the "js" class before anything else in <head>.
   ========================================================= */

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1),
              transform .8s cubic-bezier(.2, .8, .2, 1);
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: .08s; }
.stagger-2 { transition-delay: .16s; }
.stagger-3 { transition-delay: .24s; }
.stagger-4 { transition-delay: .32s; }
.stagger-5 { transition-delay: .4s; }

/* Hero page-load choreography (html.js only; visible immediately otherwise) */
html.js .hero-content > *,
html.js .hero-visual {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1),
              transform 1s cubic-bezier(.2, .8, .2, 1);
}

html.js body.loaded .hero-note    { opacity: 1; transform: rotate(-2deg); transition-delay: .15s; }
html.js body.loaded .hero-title   { opacity: 1; transform: none; transition-delay: .35s; }
html.js body.loaded .hero-lead    { opacity: 1; transform: none; transition-delay: .55s; }
html.js body.loaded .hero-cta     { opacity: 1; transform: none; transition-delay: .75s; }
html.js body.loaded .hero-visual  { opacity: 1; transform: none; transition-delay: .95s; }

/* =========================================================
   Glutensiz emphasis — nav marker, badge, hero note, band, legend
   ========================================================= */

/* Main-nav Glutensiz link: small olive leaf-dot */
.nav-gf::before {
  content: "";
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-right: .4rem;
  background: var(--olive);
  border-radius: 62% 62% 62% 0;
  transform: rotate(45deg);
  vertical-align: 1px;
}

/* Badge: deeper olive for AA contrast + leaf glyph */
.badge-gluten-free {
  background: var(--olive-deep);
  color: var(--warm-white);
  display: inline-flex;
  align-items: center;
  gap: .3em;
}
.badge-gluten-free::before {
  content: "";
  width: .82em;
  height: .82em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C3 17 12 8 17 8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C3 17 12 8 17 8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Hero: hand-lettered glutensiz trust note (reveals with hero choreography) */
.hero-gf-note {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.15rem;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--olive-deep);
}
.hero-gf-note svg { width: 1.2em; height: 1.2em; flex: none; }
html.js body.loaded .hero-gf-note { opacity: 1; transform: rotate(-1.6deg); transition-delay: .95s; }

/* Homepage glutensiz band: warm olive-tinted with a faded leaf motif */
.bg-glutensiz {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(126, 136, 91, .16), transparent 55%),
    #e9ebdb;
}
.bg-glutensiz::after {
  content: "";
  position: absolute;
  right: clamp(-70px, -3vw, -20px);
  bottom: -60px;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237e885b'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75C3 17 12 8 17 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .09;
  transform: rotate(-8deg);
  pointer-events: none;
}
.bg-glutensiz > .container { position: relative; z-index: 1; }

/* Menu: glutensiz legend + gluten-contains marker */
.menu-gf-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem .8rem;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 1rem 1.4rem;
  background: #e9ebdb;
  border: 1px solid rgba(126, 136, 91, .35);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--ink);
  text-align: center;
}
.menu-gf-legend .badge,
.menu-gf-legend .tag-contains-gluten { margin-left: 0; }

.tag-contains-gluten {
  display: inline-flex;
  align-items: center;
  margin-left: .4rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  vertical-align: middle;
  color: var(--terra-deep);
  background: rgba(198, 107, 76, .12);
  border: 1px solid rgba(160, 71, 44, .55);
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
