:root {
  --red: #c22b2b; --red-d: #9b1f1f; --amber: #ffc53d; --ink: #17181b; --ink-2: #222429; --mut: #5a6068; --line: #e3e5e9; --bg: #fff; --soft: #f5f4f2;
  --hexes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.500v31L28 63 1 47.500v-31zM28 63v34M1 47.500-27 63M55 47.500 83 63' fill='none' stroke='%23fff' stroke-opacity='.055' stroke-width='1.500'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); padding-bottom: calc(66px + env(safe-area-inset-bottom)); overflow-x: clip; }
a { color: var(--red-d); }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: #fff; padding: 10px 14px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { transition: transform .5s; }
.brand:hover img { transform: rotate(60deg); }
.brand strong { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.brand small { color: var(--mut); font-size: 13px; }
.top nav, .top .call { display: none; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 14px; background: linear-gradient(var(--red), var(--red)) 50% 85% / 0 2px no-repeat; transition: background-size .25s; }
.top nav a:hover { background-size: calc(100% - 28px) 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 20px; border: 1.5px solid #c9ccd2; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .18s, background-color .18s, border-color .18s, box-shadow .18s; }
.btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-d); border-color: var(--red-d); box-shadow: 0 10px 24px rgba(194, 43, 43, .35); }
.btn.ghost { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn.big { min-height: 60px; font-size: 18px; padding: 12px 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { position: relative; overflow: hidden; background: var(--hexes), radial-gradient(900px 520px at 88% 10%, #5d1c1c 0, rgba(93, 28, 28, 0) 70%), var(--ink); color: #fff; padding: 44px 0 64px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 55%, #e8731f 75%, var(--amber)); }
.hero .wrap { position: relative; display: grid; gap: 36px; align-items: center; }
.nut { position: absolute; width: 560px; right: -180px; bottom: -240px; fill: rgba(255, 255, 255, .035); fill-rule: evenodd; animation: turn 90s linear infinite; }
.hero-text > * { animation: up .6s both cubic-bezier(.2, .7, .2, 1); }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-text > :nth-child(5) { animation-delay: .24s; }
.today { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 15px; font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; animation: pulse 2.4s infinite; }
.dot.off { background: #ff8a80; animation: none; }
h1 { font-size: clamp(34px, 8.4vw, 66px); font-weight: 800; line-height: 1.05; margin: 0 0 18px; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: clamp(27px, 5vw, 42px); font-weight: 800; line-height: 1.15; margin: 0 0 28px; letter-spacing: -.022em; }
h2::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 60%, var(--amber)); }
h3 { font-size: 19px; line-height: 1.3; margin: 16px 0 6px; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 2.5vw, 21px); color: #3f444b; margin: 0; max-width: 58ch; }
.hero .lead { color: #d5d7db; }
.where { display: flex; align-items: center; gap: 8px; color: #b9bcc2; margin: 22px 0 0; }
.photo { width: 100%; height: auto; object-fit: cover; border-radius: 18px; display: block; }
.frame { position: relative; margin: 0 0 26px; animation: up .8s .15s both cubic-bezier(.2, .7, .2, 1); }
.frame::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 55%; height: 60%; border-radius: 24px; background: linear-gradient(135deg, var(--red), #e8731f 70%, var(--amber)); }
.frame .photo { position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.frame figcaption { position: absolute; left: 18px; bottom: -26px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); line-height: 1.25; font-size: 15px; }
.frame figcaption strong { font-size: 30px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.frame figcaption span { max-width: 14ch; }

section { padding: 60px 0; }
.alt { background: var(--soft); }
.grid, .contact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p, .card address { margin: 0; color: var(--mut); font-style: normal; }
.hex { display: inline-grid; place-items: center; width: 58px; height: 64px; background: #fbe9e7; color: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background-color .25s, color .25s, transform .35s; }
.hex .ico { width: 28px; height: 28px; }
.svc { position: relative; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.svc::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
@media (hover: hover) {
  .svc:hover { transform: translateY(-6px); border-color: #e8c9c6; box-shadow: 0 18px 40px rgba(40, 20, 20, .12); }
  .svc:hover::after { transform: scaleX(1); }
  .svc:hover .hex { background: var(--red); color: #fff; transform: rotate(60deg); }
  .svc:hover .hex .ico { transform: rotate(-60deg); transition: transform .35s; }
}
.note { color: var(--mut); margin: 22px 0 0; }
.team { position: relative; }
.team::before { content: ""; position: absolute; inset: auto auto -16px -16px; width: 60%; height: 65%; border-radius: 24px; background: linear-gradient(45deg, var(--red), #e8731f 70%, var(--amber)); }
.team .photo { position: relative; aspect-ratio: 4 / 3; object-position: 50% 75%; }

.dark { background: var(--hexes), var(--ink); color: #fff; }
.dark .lead { color: #c9ccd1; }
.dark h2 { margin-bottom: 14px; }
.callout { display: grid; gap: 24px; align-items: center; margin-bottom: 32px; }
.bigphone { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 26px; border-radius: 16px; background: var(--red); color: #fff; font-size: clamp(24px, 6.4vw, 36px); font-weight: 800; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .18s, background-color .18s, box-shadow .18s; }
.bigphone .ico { width: 30px; height: 30px; }
.bigphone:hover { background: #d83434; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(194, 43, 43, .45); }
.dark .card { background: var(--ink-2); border-color: #34373d; }
.dark .card p, .dark .card address, .dark dt { color: #c9ccd1; }
.dark .hex { background: rgba(255, 197, 61, .14); color: var(--amber); }
.dark .card a { color: var(--amber); font-weight: 600; text-underline-offset: 4px; }
.card .gap { margin-top: 12px; }
.muted { color: #9da1a8; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
dd { margin: 0; text-align: right; font-weight: 600; }
footer { background: #0f1012; color: #9da1a8; padding: 22px 0; font-size: 15px; }
footer .wrap { display: flex; align-items: center; gap: 12px; }

.bottom { position: fixed; inset: auto 0 0 0; z-index: 20; display: flex; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(0, 0, 0, .1); }
.bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 66px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.bottom .red { background: var(--red); color: #fff; }

.js .reveal { transition: opacity .6s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.wait { opacity: 0; transform: translateY(26px); }
.js .svc:not(.wait) { transition: transform .22s, box-shadow .22s, border-color .22s, opacity .6s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }

@media (max-width: 599px) {
  .hero { padding: 30px 0 52px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .hero .actions { grid-template-columns: 1fr 1fr; }
  .hero .actions .btn { padding-inline: 10px; }
  .hero .actions .red { grid-column: 1 / -1; }
  .frame::before { inset: -8px -8px auto auto; }
  .frame figcaption { left: 12px; padding: 10px 16px; }
  .frame figcaption strong { font-size: 26px; }
  .team::before { inset: auto auto -8px -8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid .card { padding: 18px 14px; }
  .grid h3 { font-size: 16px; }
  .grid p { font-size: 15px; line-height: 1.4; }
  .nut { width: 380px; right: -160px; bottom: -120px; }
}
@media (max-width: 339px) { .grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) { .grid { grid-template-columns: 1fr 1fr; } .callout { grid-template-columns: 1fr auto; } }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottom { display: none; }
  .top nav, .top .call { display: flex; }
  .hero { padding: 84px 0 104px; }
  .hero:not(.nophoto) .wrap { grid-template-columns: 1fr 1.08fr; gap: 64px; }
  .frame { margin-bottom: 0; }
  section { padding: 92px 0; }
  .two { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
}
@media (max-width: 899px) { .team { margin: 0 0 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .bottom, .top nav { display: none; } }
