:root {
  --deep: #3d0d0d;
  --red: #8c1111;
  --amber: #ffc21a;
  --cream: #fdf8f4;
  --text: #4a1414;
  --muted: #7a6259;
  --border: #f0d9cf;
  --hero: linear-gradient(135deg, #8c1111 0%, #4c0e0e 55%, #290808 100%);
  --wa: linear-gradient(135deg, #29d366 0%, #128c3f 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Playfair Display', Georgia, serif; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 36px; height: 36px; border-radius: 12px; background: var(--hero); display: grid; place-items: center; font-size: 18px; }
.logo .name { font-weight: 800; font-size: 19px; color: var(--deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(18, 140, 63, 0.7);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.sm { padding: 10px 18px; min-height: 44px; font-size: 12px; }
.btn.lg { padding: 16px 34px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.glow { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 10px 26px -10px rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 16px 44px -8px rgba(37, 211, 102, 0.85); }
}

.hero {
  background-image: var(--hero); text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 96% 100%, 92% calc(100% - 14px), 88% 100%,
    84% calc(100% - 16px), 80% 100%, 76% calc(100% - 12px), 72% 100%, 68% calc(100% - 17px), 64% 100%,
    60% calc(100% - 13px), 56% 100%, 52% calc(100% - 16px), 48% 100%, 44% calc(100% - 12px), 40% 100%,
    36% calc(100% - 17px), 32% 100%, 28% calc(100% - 13px), 24% 100%, 20% calc(100% - 16px), 16% 100%,
    12% calc(100% - 12px), 8% 100%, 4% calc(100% - 15px), 0 100%);
}
.hero-link { display: block; padding: 64px 16px 76px; text-decoration: none; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero h1 { margin: 22px auto 0; max-width: 760px; color: #fff; font-size: clamp(34px, 7vw, 62px); line-height: 1.08; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero p { margin: 18px auto 0; max-width: 540px; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.65; }
.hero .btn { margin-top: 34px; }

section.pad { padding: 64px 0; }
section.alt { background: #fbf1ea; }
.eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fbe8de;
  color: var(--red); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.head { text-align: center; }
.head h2 { margin-top: 22px; color: var(--deep); font-size: clamp(26px, 4.6vw, 40px); line-height: 1.2; }
.head p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 20px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px dashed rgba(140, 17, 17, 0.4); border-radius: 18px;
  padding: 26px 22px; text-align: center;
  box-shadow: 0 14px 34px -26px rgba(61, 13, 13, 0.6); transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); }
.card .ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 999px; background: var(--hero); display: grid; place-items: center; font-size: 24px; }
.card h3 { margin-top: 18px; color: var(--deep); font-size: 18px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta { background-image: var(--hero); border-radius: 26px; padding: 56px 24px; text-align: center; max-width: 860px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(26px, 4.6vw, 38px); }
.cta p { margin: 14px auto 0; max-width: 460px; color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.cta .btn { margin-top: 28px; }

.contact-grid { display: grid; gap: 20px; margin: 44px auto 0; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 860px; }
.contact-card { background: #fff; border: 1px dashed rgba(140, 17, 17, 0.4); border-radius: 18px; padding: 26px; box-shadow: 0 14px 34px -26px rgba(61, 13, 13, 0.6); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; font-size: 20px; background: var(--hero); }
.contact-card .ico.wa { background: var(--wa); }
.contact-card h3 { margin-top: 18px; color: var(--deep); font-size: 18px; font-family: 'Poppins', sans-serif; font-weight: 600; }
.contact-card .link { display: inline-block; margin-top: 4px; color: var(--red); font-size: 14px; font-weight: 500; }
.contact-card p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.65; }

footer { background: var(--deep); color: #fff; padding: 46px 0; text-align: center; }
footer .name { font-size: 21px; font-weight: 800; }
footer .desc { margin: 12px auto 0; max-width: 420px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
footer .contacts { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
footer nav { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
footer nav button { background: none; border: 0; color: rgba(255, 255, 255, 0.78); font: inherit; font-size: 14px; min-height: 44px; cursor: pointer; }
footer nav button:hover, footer a:hover { color: var(--amber); }
footer .copy { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.overlay { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(61, 13, 13, 0.72); backdrop-filter: blur(4px); }
.overlay.open { display: flex; }
.modal { background: #fff; border-radius: 22px; padding: 26px; max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto; text-align: left; }
.modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal h3 { color: var(--deep); font-size: 21px; }
.modal .close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fbe8de; color: var(--deep); font-size: 17px; cursor: pointer; flex-shrink: 0; }
.modal .body p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 640px) {
  section.pad { padding: 48px 0; }
  .logo .name { font-size: 17px; }
  .hero-link { padding: 52px 12px 64px; }
}