:root {
  --red: #1d7a4c;
  --red-dark: #145a37;
  --yellow: #fff385;
  --dough: #fffbd6;
  --crust: #f0b54a;
  --ink: #1f2b24;
  --muted: #5b665e;
  --paper: #fffef7;
  --line: #ebe5b5;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 254, 247, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--red); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .85rem !important; }
@media (max-width: 760px) { .nav a:not(.lang) { display: none; } }

/* Hero */
.hero { padding: 80px 0 72px; background: var(--yellow); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--red); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 620px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }

/* Wordplay */
.pun { padding: 72px 0; background: #133d29; color: var(--dough); }
.pun h2 { color: #fff; }
.pun p { color: #cfe3d3; max-width: 640px; }
.word {
  font-family: "Fraunces", serif; font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 7rem);
  letter-spacing: .01em; margin: 36px 0 0; line-height: 1;
  color: var(--dough);
}
.word span {
  display: inline-block; padding-bottom: .32em;
  --l1: linear-gradient(var(--crust), var(--crust));
  --l2: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
}
.w-a { color: var(--crust); background-image: var(--l1); background-size: 100% .05em; background-position: 0 calc(100% - .16em); }
.w-b { color: #6fe0a0; background-image: var(--l1), var(--l2); background-size: 100% .05em, 100% .05em; background-position: 0 calc(100% - .16em), 0 100%; }
.w-c { background-image: var(--l2); background-size: 100% .05em; background-position: 0 100%; }
.key { display: flex; gap: 24px; margin-top: 14px; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.key span::before { content: ""; display: inline-block; width: 28px; height: 4px; vertical-align: middle; margin-right: 8px; }
.k-pide { color: var(--crust); } .k-pide::before { background: var(--crust); }
.k-del { color: #fff; } .k-del::before { background: #fff; }
.pun .legend { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 48px; }
.pun .legend div { max-width: 300px; }
.pun .legend strong { display: block; color: #fff; font-size: 1.05rem; }

/* Sections */
section { scroll-margin-top: 70px; }
.block { padding: 80px 0; }
.block.alt { background: var(--dough); }
.intro { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 20px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card.featured { border: 2px solid var(--red); }
.card ul { padding-left: 18px; color: var(--muted); margin: 12px 0 0; }
.tag { display: inline-block; background: var(--red); color: #fff; border-radius: 999px; font-size: .75rem; font-weight: 600; padding: 3px 10px; margin-bottom: 12px; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; margin-top: 28px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.facts th, .facts td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; color: var(--muted); font-weight: 500; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.todo { background: #fff3c4; border-radius: 4px; padding: 0 4px; }

/* Contact */
.contact { background: var(--red); color: #fff; text-align: center; padding: 88px 0; }
.contact h2 { color: #fff; }
.contact p { color: #dff2e5; max-width: 560px; margin: 0 auto 1em; }
.contact .btn-primary { background: #fff; color: var(--red); }
.contact .btn-ghost { border-color: #fff; color: #fff; }
.contact .cta { justify-content: center; }

footer { padding: 28px 0; font-size: .85rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.brand img { height: 34px; width: auto; }
.hero-logo { width: min(560px, 100%); margin: 0 0 28px -2%; }
.hero .lead { color: #4a4a2c; }
.photos { display: grid; gap: 20px; margin-top: 36px; grid-template-columns: 3fr 2fr; align-items: start; }
.photos figure { margin: 0; }
.photos img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.photos figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr; } }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.hero .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.hero-video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(31, 43, 36, .25); background: #1f2b24; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-video { max-width: 340px; margin: 0 auto; }
}

.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #0b3d1f; }
.btn-wa:hover { background: #1ebe5b; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
