/* Pizza Type View — styles */
:root {
  --red: #c62f2f;
  --red-dark: #a32424;
  --green: #2f7d4f;
  --green-dark: #256340;
  --amber: #b06f1e;
  --cream: #fdf8ef;
  --paper: #ffffff;
  --ink: #33261d;
  --muted: #7a6a5d;
  --line: #eadcc6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(51, 38, 29, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

ul { padding-left: 1.2rem; }
li { margin: 0.2rem 0; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 3.2rem 0; }
.section-intro { max-width: 68ch; color: var(--muted); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; z-index: 100; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--red); }
.brand svg { flex: none; }
.brand-name { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em; }

.main-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 3rem; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.hero-text { flex: 1 1 460px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.hero-art { flex: 0 1 240px; margin: 0 auto; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted); }
.hero-meta span { white-space: nowrap; }

/* ---------- composition cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.basics-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.basics-card h3 { color: var(--red-dark); font-size: 1.08rem; }
.basics-card p { font-size: 0.95rem; margin: 0; color: var(--muted); }

/* ---------- pizza type cards ---------- */
.grid-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.2rem; }
.type-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.type-card:nth-child(3n+1) .type-num { background: var(--red); }
.type-card:nth-child(3n+2) .type-num { background: var(--green); }
.type-card:nth-child(3n)   .type-num { background: var(--amber); }
.type-head { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.4rem; }
.type-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.95rem; margin-top: 0.1rem;
}
.type-card h3 { font-size: 1.2rem; }
.type-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.type-card > p { font-size: 0.96rem; color: var(--ink); }
.type-comp { margin-top: auto; padding-top: 0.85rem; border-top: 1px dashed var(--line); }
.type-comp .comp-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-dark); font-weight: 700; margin-bottom: 0.3rem; }
.type-comp ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.type-comp li {
  margin: 0; font-size: 0.82rem; background: #f6efe2; border: 1px solid var(--line);
  padding: 0.15rem 0.55rem; border-radius: 999px;
}

/* ---------- faq ---------- */
.faq { max-width: 800px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.2rem; margin-bottom: 0.7rem; }
.faq summary { font-weight: 700; cursor: pointer; font-family: Georgia, serif; font-size: 1.05rem; }
.faq details[open] summary { color: var(--red-dark); margin-bottom: 0.4rem; }

/* ---------- note box ---------- */
.note {
  background: #f3f8f0; border: 1px solid #d8e8d4; border-left: 4px solid var(--green);
  border-radius: 10px; padding: 0.9rem 1.2rem; font-size: 0.95rem;
}

/* ---------- contact ---------- */
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); max-width: 640px; }
.contact-card dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-top: 1rem; }
.contact-card dd { margin: 0.15rem 0 0; font-size: 1rem; }
.contact-card dt:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: #2b2118; color: #f0e7da; margin-top: 3rem; padding: 2.6rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2rem; }
.footer-brand { font-family: Georgia, serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; }
.footer-h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #c9b7a0; margin-bottom: 0.6rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #f0e7da; text-decoration-color: rgba(240, 231, 218, 0.4); }
.footer-legal { border-top: 1px solid rgba(240, 231, 218, 0.2); margin-top: 2rem; padding-top: 1.2rem; font-size: 0.85rem; color: #c9b7a0; }
.footer-legal p { margin: 0 0 0.4rem; }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  width: min(640px, 92%);
  background: #2b2118; color: #f0e7da;
  border-radius: 12px; padding: 0.85rem 1.2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem; box-shadow: 0 12px 34px rgba(0,0,0,0.35); z-index: 100;
}
.cookie-bar a { color: #ffd9a0; }
.cookie-bar button {
  margin-left: auto; background: var(--red); color: #fff; border: 0;
  border-radius: 8px; padding: 0.5rem 1.1rem; font-weight: 700; cursor: pointer;
}
.cookie-bar button:hover { background: var(--red-dark); }

/* ---------- misc ---------- */
.page-head { padding: 2.6rem 0 1rem; }
.page-head p.lead { color: var(--muted); max-width: 62ch; }
.backlink { display: inline-block; margin-bottom: 1rem; font-size: 0.9rem; }

@media (max-width: 720px) {
  .hero { padding: 2.4rem 0 2rem; }
  .hero-art { flex-basis: 160px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .main-nav ul { gap: 1rem; }
}
