/* Pala's Samsun — café & bistro menu showcase (burgundy + gold) */
:root {
  --primary-color: #6b1d4f;
  --secondary-color: #1a237e;
  --bg-color: #fbf9f6;
  --text-main: #2d2d2d;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --border-color: #e8e2da;
  --accent-gold: #b3925c;
  --container: 1140px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 18px 48px rgba(107, 29, 79, 0.12);
  --font-serif: "Playfair Display SC", Georgia, serif;
  --font-sans: "Karla", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.theme-palas {
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(107, 29, 79, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 40% at 5% 95%, rgba(26, 35, 126, 0.06), transparent 50%),
    var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  position: relative;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(179, 146, 92, 0.12), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(107, 29, 79, 0.08), transparent 42%);
}

.ambient-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(107, 29, 79, 0.015) 2px,
      rgba(107, 29, 79, 0.015) 3px
    );
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--secondary-color);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 0.95rem;
  color: var(--primary-color);
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover {
  background: rgba(107, 29, 79, 0.08);
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  color: var(--primary-color);
}

.lang-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
  background: #fff;
  color: var(--text-main);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-color), #8a2b69);
  color: #fff;
  box-shadow: 0 4px 14px rgba(107, 29, 79, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(107, 29, 79, 0.3);
}

.button-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.button-ghost {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(107, 29, 79, 0.06);
  box-shadow: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(18rem, 85vw);
  height: 100%;
  background: var(--card-bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.mobile-nav-panel a {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ── Hero ── */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero-warmth {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(179, 146, 92, 0.1), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  color: var(--secondary-color);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--primary-color);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges span {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
}

.hero-rating {
  color: var(--accent-gold) !important;
  font-weight: 700;
}

.hero-visual-stage {
  position: relative;
  min-height: clamp(18rem, 38vw, 24rem);
  max-width: 100%;
  min-width: 0;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 3px solid var(--primary-color);
}

.hero-visual--main {
  width: 92%;
  margin-left: auto;
  z-index: 2;
}

.hero-visual--accent {
  position: absolute;
  bottom: -1rem;
  left: 0;
  z-index: 3;
  width: clamp(6rem, 24%, 8.5rem);
  border-radius: var(--radius-md);
  border: 3px solid #fff;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-lift);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-visual--accent img {
  aspect-ratio: 1;
}

.hero-visual--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 35, 126, 0.25) 100%);
  pointer-events: none;
}

.hero-badge-float {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ── Sections ── */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--border-color);
}

.section-heading {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--secondary-color);
  margin: 0.35rem 0 0.75rem;
}

.section-heading p {
  color: var(--text-muted);
  margin: 0;
}

.section-heading--menu {
  margin-bottom: 1.5rem;
}

/* ── Features ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(107, 29, 79, 0.2);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  color: var(--primary-color);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Menu ── */
.menu-shell {
  max-width: 900px;
}

.menu-container {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.menu-container:hover {
  box-shadow: var(--shadow-lift);
}

.section-header {
  background: linear-gradient(90deg, var(--primary-color), #8a2b69);
  color: white;
  padding: 10px 20px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.section-header:first-of-type { margin-top: 0; }

.menu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.menu-table tr {
  border-bottom: 1px solid #f2ede4;
  transition: background 0.2s ease;
}

.menu-table tr:hover {
  background: rgba(107, 29, 79, 0.03);
}
.menu-table tr:last-child { border-bottom: none; }

.menu-table td {
  padding: 14px 10px;
  vertical-align: top;
}

.item-details { width: 80%; }

.item-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.item-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.item-badges { display: inline-block; margin-left: 6px; }

.badge {
  font-size: 10px;
  background-color: #f0eae1;
  color: var(--primary-color);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: bold;
  vertical-align: middle;
}

.item-price {
  width: 20%;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-color);
  white-space: nowrap;
}

.image-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.image-cell {
  background-color: #fcfbfa;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.image-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  max-height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
  display: block;
  transition: transform 0.4s ease;
}

.image-cell:hover .image-photo {
  transform: scale(1.04);
}

.image-caption {
  font-size: 12px;
  font-weight: bold;
  color: var(--primary-color);
}

.law-box {
  background-color: #f7f4ef;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin-top: 50px;
  border-radius: 0 8px 8px 0;
  font-size: 11px;
  color: #555;
}

.law-box h3,
.law-box-sub {
  color: var(--primary-color);
  font-size: 13px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.law-box-sub { margin-top: 15px; }

.law-grid { display: table; width: 100%; }
.law-row { display: table-row; }

.law-label {
  display: table-cell;
  font-weight: bold;
  width: 15%;
  padding-bottom: 5px;
  color: var(--secondary-color);
}

.law-text {
  display: table-cell;
  width: 85%;
  padding-bottom: 5px;
}

.menu-footnote {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.menu-error {
  text-align: center;
  color: #b42318;
  padding: 2rem 1rem;
}

/* ── Reviews ── */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.reviews-number {
  font-size: 2.5rem;
  color: var(--primary-color);
  line-height: 1;
}

.reviews-meta,
.reviews-rank {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.review-card {
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.review-card p {
  margin: 0 0 0.75rem;
  font-style: italic;
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.55;
}

.review-card footer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  margin-top: 0.25rem;
  color: #999;
}

.reviews-attribution {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

.reviews-attribution a {
  color: var(--secondary-color);
}

.reviews-link {
  white-space: nowrap;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-lift);
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--wide img {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.gallery-item figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

.contact-card p {
  margin: 0;
  color: var(--text-main);
}

.contact-card a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-card a:hover { text-decoration: underline; }

.contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  min-height: 280px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
}

/* ── Footer ── */
.site-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.6);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-made-by {
  padding-top: 0.5rem;
  text-align: center;
}

.footer-made-by__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
}

.footer-made-by__link:hover { color: var(--primary-color); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .main-nav,
  .nav-actions .button-small { display: none; }

  .nav-toggle { display: inline-flex; }

  .hero-grid,
  .feature-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual-stage {
    margin-top: 1rem;
    min-height: auto;
    overflow: hidden;
    padding-block: 0.5rem 1.75rem;
  }

  .hero-visual--main {
    width: 100%;
    margin-left: 0;
  }

  .hero-visual--main img {
    max-height: min(48vh, 20rem);
  }

  .hero-visual--accent {
    bottom: 0.25rem;
    left: 0.75rem;
    width: clamp(5rem, 28%, 8rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--wide img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .menu-container { padding: 24px 18px; }

  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-showcase { grid-template-columns: 1fr; }

  .item-details,
  .item-price {
    display: block;
    width: 100%;
  }

  .item-price {
    text-align: left;
    padding-top: 0;
    padding-bottom: 12px;
  }

  .law-label,
  .law-text {
    display: block;
    width: 100%;
  }

  .law-label { padding-bottom: 0; }

  .reviews-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .gallery-item img,
  .gallery-item--wide img {
    max-height: 16rem;
    aspect-ratio: 4 / 3;
  }

  .hero-visual--main img {
    max-height: min(42vh, 17.5rem);
  }

  .hero-visual--accent {
    width: clamp(4.25rem, 24%, 6.5rem);
  }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }

  .gallery-item--wide { grid-column: span 1; }

  .hero-actions { flex-direction: column; }

  .hero-actions .button { width: 100%; }
}

@media (max-width: 430px) {
  .section-header { font-size: 14px; }

  .hero-visual--accent {
    width: 4.25rem;
    bottom: 0.15rem;
    left: 0.5rem;
  }
}

/* ── Dynamics & Motion ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-visual--main img {
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@media (max-width: 900px) {
  .hero-visual--main img {
    animation: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

.hero-badge-float {
  animation: floatY 4.5s ease-in-out infinite;
}

.hero-copy {
  animation: fadeUp 0.8s ease-out both;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(107, 29, 79, 0.1);
}

/* ── Legal pages ── */
.legal-page .legal-main {
  padding: 3rem 0 4rem;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin: 0 auto;
}

.legal-card h1,
.legal-card h2 {
  font-family: var(--font-serif);
  color: var(--primary-color);
}

.legal-card h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.legal-card p {
  color: var(--text-muted);
  line-height: 1.65;
}
