:root {
  --color-primary-950: #040d1a;
  --color-primary-900: #0a1628;
  --color-primary-800: #0f2340;
  --color-primary-700: #153055;
  --color-primary-600: #1c3d6b;
  --color-primary-500: #245080;
  --color-primary-400: #3d6a9e;
  --color-primary-300: #6b94be;
  --color-primary-200: #a8c4de;
  --color-primary-100: #d4e4f2;
  --color-primary-50: #eef4fa;
  --color-accent-600: #c2410c;
  --color-accent: #ea580c;
  --color-accent-400: #f97316;
  --color-surface: #f8fafc;
  --header-height: 7.5rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 4px 6px -1px rgb(10 22 40 / 0.06), 0 20px 40px -12px rgb(10 22 40 / 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-surface);
  color: var(--color-primary-900);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(80rem, calc(100% - 2rem)); margin-inline: auto; }

.bg-gradient-accent, .btn-accent, .badge.accent, .nav-link.is-active {
  background: linear-gradient(135deg, var(--color-accent), #dc2626);
  color: #fff;
}
.accent-text {
  background: linear-gradient(135deg, var(--color-accent), #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero, .hero, .cta-banner {
  background: linear-gradient(145deg, var(--color-primary-950) 0%, var(--color-primary-800) 45%, var(--color-primary-700) 100%);
  color: #fff;
}

.edit-bar {
  position: sticky; top: 0; z-index: 60;
  background: #9a3412; color: #fff; padding: 0.75rem 0;
  box-shadow: 0 8px 20px rgb(154 52 18 / 0.35);
}
.edit-bar-inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between;
}
.edit-bar p { margin: 0; max-width: 40rem; line-height: 1.4; font-size: 0.95rem; }
.edit-bar-btn { padding: 0.7rem 1.25rem; font-size: 0.95rem; }
.edit-bar form button {
  background: transparent; border: 1px solid rgb(255 255 255 / 0.45); color: #fff;
  border-radius: 0.6rem; padding: 0.65rem 1rem; cursor: pointer; font: inherit;
}
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 8px rgb(10 22 40 / 0.06); }
.topbar { background: var(--color-primary-950); color: var(--color-primary-100); border-bottom: 1px solid rgb(15 35 64 / 0.5); }
.topbar-inner { display: flex; justify-content: center; padding: 0.5rem 1rem; }
@media (min-width: 640px) { .topbar-inner { justify-content: flex-end; } }
.topbar-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; }
.topbar-phone:hover { color: var(--color-accent-400); }
.topbar-ico { width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center; background: rgb(234 88 12 / 0.2); color: var(--color-accent-400); }
.topbar-phone:hover .topbar-ico { background: var(--color-accent); color: #fff; }
.topbar-phone strong { color: #fff; }

.brand-bar { border-bottom: 1px solid var(--color-primary-100); }
.brand-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; }
.brand-side { display: flex; min-width: 0; }
.brand-left { justify-content: flex-start; align-items: center; gap: 0.5rem; }
.brand-right { justify-content: flex-end; }
.brand-logo { display: flex; justify-self: center; transform: translateX(1rem); }
@media (min-width: 768px) { .brand-logo { transform: none; } }
.logo-img { max-height: 96px; max-width: 320px; width: auto; height: auto; object-fit: contain; }
.partner { display: none; height: 2.75rem; max-width: 9rem; align-items: center; padding: 0 0.25rem; }
.partner-img { max-height: 44px; max-width: 152px; width: auto; object-fit: contain; }
.partner-name { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary-600); }
@media (min-width: 768px) { .partner { display: inline-flex; } }
.menu-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid var(--color-primary-200);
  background: #fff; color: var(--color-primary-800); display: grid; place-items: center; cursor: pointer;
}
@media (min-width: 768px) { .menu-btn { display: none; } }

.main-nav { border-bottom: 1px solid var(--color-primary-100); background: linear-gradient(90deg, var(--color-primary-50), #fff, var(--color-primary-50)); padding: 0.75rem 0; }
.nav-list { display: none; flex-direction: column; gap: 0.5rem; align-items: stretch; }
.nav-list.is-open { display: flex; }
@media (min-width: 768px) {
  .nav-list, .nav-list.is-open { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}
.nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.25rem; border-radius: 999px; text-decoration: none;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid rgb(168 196 222 / 0.8); background: rgb(255 255 255 / 0.9); color: var(--color-primary-800);
}
.nav-link:hover { border-color: #fdba74; color: #c2410c; transform: scale(1.03); }
.nav-link.is-active { border: 0; box-shadow: 0 10px 24px rgb(234 88 12 / 0.3); }

.hero { position: relative; overflow: hidden; padding: 4rem 0 5.5rem; }
.hero::before, .page-hero::before, .cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero, .cta-banner { position: relative; overflow: hidden; }
.hero-inner { max-width: 48rem; }
.hero-inner, .page-hero .wrap, .cta-banner > * { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 1rem;
  border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.9rem;
}
.pill::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--color-accent-400); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.1; margin-top: 1.5rem; }
.lead { margin-top: 1.25rem; font-size: 1.15rem; color: var(--color-primary-200); max-width: 40rem; line-height: 1.6; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.hero-bullets li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-bullets svg { color: var(--color-accent-400); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.75rem; padding: 1rem 2rem; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
}
.btn-accent { color: #fff; box-shadow: 0 10px 24px rgb(194 65 12 / 0.3); }
.btn-accent:hover { transform: scale(1.02); }
.btn-ghost { background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid rgb(255 255 255 / 0.25); }
.btn-outline { border: 2px solid var(--color-primary-800); color: var(--color-primary-800); background: transparent; padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-outline:hover { background: var(--color-primary-800); color: #fff; }

.cards-over { position: relative; z-index: 2; margin-top: -2.5rem; padding-bottom: 4rem; }
.cards-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-primary-100);
  background: #fff; padding: 1.5rem; text-decoration: none; box-shadow: var(--shadow); display: block;
}
.card:hover { transform: translateY(-0.4rem); border-color: rgb(253 186 116 / 0.5); }
.card-ico { display: inline-flex; padding: 0.75rem; border-radius: 0.75rem; background: var(--color-primary-900); color: #fff; margin-bottom: 1rem; }
.card:hover .card-ico { background: linear-gradient(135deg, var(--color-accent), #dc2626); }
.card h2 { font-size: 1.25rem; }
.card p { margin-top: 0.5rem; color: var(--color-primary-600); font-size: 0.9rem; line-height: 1.5; }
.more { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1rem; color: #c2410c; font-weight: 600; font-size: 0.9rem; }

.preview { background: #fff; padding: 4rem 0; }
.preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 2.5rem; }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #c2410c; }
.eyebrow.accent { color: var(--color-accent-400); }
.preview h2, .expect-band h2 { font-size: 1.85rem; }
.preview-head p { color: var(--color-primary-600); margin-top: 0.75rem; max-width: 36rem; }
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-primary-100); background: #fff; text-decoration: none; display: block; }
.product-card:hover { border-color: rgb(253 186 116 / 0.7); box-shadow: var(--shadow); }
.product-photo, .product-hero, .ref-photo {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-800), var(--color-primary-600));
}
.ref-photo { aspect-ratio: 16/10; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .cover { transform: scale(1.05); transition: transform 0.5s; }
.cover-ico { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / 0.25); }
.product-photo h3, .product-hero-label {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; color: #fff;
  text-shadow: 0 8px 24px rgb(4 13 26 / 0.7);
}
.product-hero-label { left: 0; right: 0; bottom: 0; padding: 1.5rem; background: linear-gradient(transparent, rgb(4 13 26 / 0.85)); }
.product-hero-label span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-400); }
.product-body { padding: 1.25rem; }
.product-body p { color: var(--color-primary-600); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.cta-wrap { padding: 4rem 1rem; }
.cta-banner { width: min(80rem, 100%); margin: 0 auto; border-radius: 1rem; padding: 2.5rem 2rem; text-align: center; }
.cta-banner h2 { font-size: 1.75rem; }
.cta-banner p { margin: 0.75rem auto 0; max-width: 36rem; color: var(--color-primary-200); }
.cta-banner .btn { margin-top: 2rem; }

.page-hero { padding: 3.5rem 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-top: 0.5rem; }

.products-page { padding: 4rem 0; display: grid; gap: 4rem; }
.product-block { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .product-block { grid-template-columns: 1fr 1fr; } .product-block.is-reversed { direction: rtl; } .product-block.is-reversed > * { direction: ltr; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--color-primary-100); }
.features { margin-top: 1rem; display: grid; gap: 0.75rem; }
.features li { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--color-primary-100); background: var(--color-primary-50); border-radius: 0.5rem; padding: 0.75rem 1rem; font-weight: 600; font-size: 0.9rem; }
.features li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--color-accent); }
.product-copy-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.product-copy h2, .product-copy p, .product-copy li { color: var(--color-primary-900); }
.product-copy p { margin: 0.75rem 0; line-height: 1.65; color: var(--color-primary-700); }
.product-copy ul { list-style: disc; margin: 0.75rem 0 0.75rem 1.25rem; }
.product-copy ol { list-style: decimal; margin: 0.75rem 0 0.75rem 1.25rem; }
.product-copy li { margin: 0.35rem 0; color: var(--color-primary-700); line-height: 1.55; }
.product-copy h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.product-copy strong { color: var(--color-primary-900); }
.note { margin-top: 3rem; }

.stats-grid, .expect-grid, .refs-grid { display: grid; gap: 1.5rem; padding: 4rem 0; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } .expect-grid { grid-template-columns: 1fr 1fr; } .refs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .refs-grid { grid-template-columns: 1fr 1fr 1fr; } }
.stat-card, .expect, .ref-card { background: #fff; border: 1px solid var(--color-primary-100); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow); text-align: center; }
.stat-card svg { color: var(--color-accent); }
.stat-n { font-size: 1.85rem; font-weight: 800; margin-top: 0.75rem; }
.expect { display: flex; gap: 1.25rem; text-align: left; }
.expect-n { width: 3rem; height: 3rem; border-radius: 999px; background: var(--color-primary-900); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.process-band { background: linear-gradient(#eef4fa, #fff); border-block: 1px solid var(--color-primary-100); padding: 3.5rem 0; }
.process h2, .process .center { text-align: center; }
.process-steps { display: grid; gap: 2.5rem; margin-top: 2rem; position: relative; }
@media (min-width: 640px) {
  .process-steps { grid-template-columns: 1fr 1fr 1fr; }
  .process-steps::before {
    content: ""; position: absolute; left: 16.67%; right: 16.67%; top: 1.5rem; height: 4px; border-radius: 999px;
    background: linear-gradient(90deg, #6ee7b7, #10b981, #34d399);
  }
}
.process-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step-n {
  position: relative; z-index: 1; width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center;
  border: 2px solid #10b981; background: #fff; color: #047857; font-weight: 800; box-shadow: 0 8px 16px rgb(16 185 129 / 0.15);
}
.process-steps h3 { margin-top: 1rem; }
.process-steps p { margin-top: 0.4rem; color: var(--color-primary-600); font-size: 0.9rem; max-width: 14rem; }
.process.boxed { border: 1px solid var(--color-primary-100); background: rgb(238 244 250 / 0.6); border-radius: 1rem; padding: 2rem 1rem; }

.expect-band { background: #fff; padding: 4rem 0; }
.intro-band { background: linear-gradient(var(--color-primary-50), #fff); border-top: 1px solid var(--color-primary-100); padding: 4rem 0; }
.intro-grid { display: none; }
@media (min-width: 1024px) {
  .intro-grid { display: grid; grid-template-columns: 1fr minmax(0, 2fr) 1fr; gap: 2rem; align-items: center; }
  .intro-mobile { display: none; }
  .hidden-mobile { display: block; }
}
.intro-mobile { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .intro-mobile { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .intro-mobile { display: none; } }
.intro-copy { text-align: center; }
.intro-copy h2 { font-size: 2rem; }
.pre-line { white-space: pre-line; text-align: left; margin-top: 1.5rem; line-height: 1.7; color: var(--color-primary-700); }
.fade-photo {
  width: 100%; height: 100%; max-height: 28rem; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 76% 80% at 50% 50%, #000 0%, #000 38%, transparent 72%);
  mask-image: radial-gradient(ellipse 76% 80% at 50% 50%, #000 0%, #000 38%, transparent 72%);
}

.ref-card { overflow: hidden; padding: 0; text-align: left; }
.ref-photo { aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; }
.ref-photo img, .ref-photo .cover { width: 100%; height: 100%; object-fit: cover; }
.ref-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.4rem; padding: 0.85rem 1.5rem 0; }
.ref-thumb { aspect-ratio: 1; overflow: hidden; border-radius: 0.45rem; background: var(--color-primary-100); }
.ref-body { padding: 1.5rem; }
.ref-body p { display: flex; align-items: center; gap: 0.4rem; color: var(--color-primary-500); margin-top: 0.5rem; font-size: 0.9rem; }
.ref-date { font-weight: 600; color: var(--color-primary-700); }
.ref-text { display: block; margin-top: 0.85rem; color: var(--color-primary-700); line-height: 1.65; white-space: pre-line; }
.tone-0 { background: linear-gradient(135deg, #153055, #0a1628); }
.tone-1 { background: linear-gradient(135deg, #1c3d6b, #0f2340); }
.tone-2 { background: linear-gradient(135deg, #0f2340, #040d1a); }

.contact-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-col { display: flex; flex-direction: column; gap: 2rem; }
.contact-list { display: grid; gap: 1.25rem; margin: 1.5rem 0 0; }
.contact-list li, .contact-list a {
  display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--color-primary-100);
  border-radius: 0.75rem; padding: 1rem; text-decoration: none;
}
.contact-list a:hover { border-color: #fdba74; background: rgb(255 247 237 / 0.4); }
.badge { width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.badge.dark { background: var(--color-primary-900); }
.badge.pale { background: var(--color-primary-100); color: var(--color-primary-800); }
.contact-list small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary-500); }
.sidebar-photo {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--color-primary-100);
  background: #fff;
  box-shadow: var(--shadow);
}
.contain-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; background: rgb(238 244 250 / 0.4); }
.contact-ico { margin: 0; font-size: 0.875rem; }

.contact-form, .login-wrap .contact-form {
  border: 1px solid var(--color-primary-100); background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow);
  display: grid; gap: 1rem;
}
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 1px solid var(--color-primary-200); border-radius: 0.5rem; padding: 0.75rem 1rem; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgb(234 88 12 / 0.25); border-color: var(--color-accent); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 2.85rem; }
.password-toggle {
  position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem; border: 0; background: transparent; color: var(--color-primary-500);
  cursor: pointer; display: grid; place-items: center; padding: 0;
}
.password-toggle:hover, .password-toggle:focus-visible { color: var(--color-primary-900); }
.form-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 0.75rem 1rem; border-radius: 0.5rem; }
.form-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 0.75rem 1rem; border-radius: 0.5rem; }
.hp { position: absolute; left: -9999px; }
.login-wrap { max-width: 28rem; padding: 3rem 0 5rem; }

.reviews { border-top: 1px solid var(--color-primary-100); background: linear-gradient(#fff, var(--color-primary-50)); padding: 3.5rem 0; text-align: center; }
.reviews h2 { margin-top: 0.5rem; font-size: 1.75rem; }
.ticker { position: relative; margin-top: 2rem; }
.ticker-window { overflow: hidden; }
.ticker-track { display: flex; width: max-content; gap: 1.5rem; will-change: transform; }
.review-card {
  width: min(85vw, 300px); flex-shrink: 0; text-align: left; background: #fff; border: 1px solid var(--color-primary-100);
  border-radius: 1rem; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
@media (min-width: 1024px) { .review-card { width: 320px; } }
.review-logo-wrap { height: 3rem; margin-bottom: 1rem; display: flex; align-items: center; }
.review-logo { max-height: 48px; max-width: 220px; object-fit: contain; }
.review-score { display: flex; align-items: baseline; gap: 0.4rem; }
.review-score-n { font-size: 1.85rem; font-weight: 800; }
.stars { display: flex; gap: 0.15rem; margin-top: 0.35rem; color: #d4e4f2; }
.stars .on { color: var(--color-accent); }
.review-count { font-size: 0.75rem; color: var(--color-primary-500); margin-top: 0.25rem; }
.review-card blockquote { margin: 1rem 0 0; color: var(--color-primary-700); font-size: 0.9rem; font-style: italic; flex: 1; }
.review-card footer { margin-top: 0.75rem; font-size: 0.75rem; font-style: normal; color: var(--color-primary-500); }
.ticker-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid var(--color-primary-200); background: rgb(255 255 255 / 0.95); cursor: pointer; opacity: 0; pointer-events: none;
}
.ticker:hover .ticker-btn { opacity: 1; pointer-events: auto; }
.ticker-prev { left: 0.5rem; }
.ticker-next { right: 0.5rem; }
@media (max-width: 1023px) {
  .ticker-btn { opacity: 1; pointer-events: auto; }
}

.site-footer { background: var(--color-primary-950); color: var(--color-primary-200); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-name { color: #fff; font-size: 1.25rem; font-weight: 800; }
.footer-brand p { margin-top: 0.5rem; max-width: 28rem; line-height: 1.6; }
.footer-heading { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.75rem; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; text-decoration: none; }
.footer-contact svg, .footer-contact a:hover { color: var(--color-accent); }
.footer-copy {
  margin-top: 2.5rem; padding: 1.5rem 0 5.5rem; border-top: 1px solid var(--color-primary-800);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center;
  font-size: 0.75rem; color: var(--color-primary-500);
}
.footer-copy > span:first-child { justify-self: start; }
.door-wrap { display: inline-flex; align-items: center; gap: 0.5rem; justify-self: center; }
.door {
  color: var(--color-primary-200); text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.25rem; opacity: 0.8; width: 2.35rem; height: 2.35rem; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.08);
}
.door:hover, .door-on { opacity: 1; color: var(--color-accent-400); border-color: var(--color-accent-400); }
.door-on { width: auto; height: auto; padding: 0.35rem 0.75rem; }
.door-out button { background: none; border: 0; color: var(--color-accent-400); cursor: pointer; font: inherit; }

.float-cta {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.4rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #dc2626); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 28px rgb(234 88 12 / 0.35); animation: float 3s ease-in-out infinite;
}
@media (max-width: 639px) {
  .float-cta { opacity: 0; transform: translateY(0.75rem); pointer-events: none; }
  .float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}
@keyframes float { 50% { transform: translateY(-6px); } }

.center { text-align: center; }
.muted { color: var(--color-primary-500); }
.img-fallback { display: block; width: 100%; height: 100%; background: var(--color-primary-100); }

@media (max-width: 767px) {
  :root { --header-height: 6.25rem; }
  .logo-img { max-height: 64px; max-width: 200px; }
  .brand-grid { padding: 0.45rem 0; }
  .hero { padding: 2.5rem 0 4.25rem; }
  .page-hero { padding: 2.25rem 0; }
  .footer-copy { grid-template-columns: 1fr; text-align: center; padding-bottom: 5.75rem; }
  .footer-copy > span:first-child, .door-wrap { justify-self: center; }
  .nav-link { width: 100%; }
  .float-cta { right: 1rem; bottom: 1rem; padding: 0.8rem 1.15rem; }
  .edit-bar-inner { align-items: stretch; }
  .edit-bar-btn, .edit-bar form button { width: 100%; text-align: center; justify-content: center; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.9rem; color: var(--color-primary-500); margin: 0 0 1.25rem; }
.crumbs a { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.articles-page { padding-bottom: 4rem; }
.articles-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: 1fr 1fr 1fr; } }
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-primary-100);
  border-radius: 1rem; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow);
}
.article-card:hover { border-color: #fdba74; }
.article-card-photo, .article-hero-photo {
  aspect-ratio: 1.91 / 1; overflow: hidden; background: var(--color-primary-100);
}
.article-card-photo img, .article-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  display: block;
}
.article-card-body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: 0.45rem; }
.article-card-body h2 { margin: 0; font-size: 1.25rem; }
.article-card-body p { margin: 0; color: var(--color-primary-700); line-height: 1.55; }
.article-date { font-size: 0.85rem; color: var(--color-primary-500); font-weight: 600; }
.article-draft { color: #b45309; font-weight: 700; font-size: 0.85rem; }
.article-detail { padding: 2rem 0 4rem; }
.article-detail h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.35rem 0 1.25rem; }
.article-hero-photo { border-radius: 1rem; margin-bottom: 1.75rem; }
.article-back { margin: 0 0 1rem; }
.article-back a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--color-accent); font-weight: 700; text-decoration: none; }
.article-body { font-size: 1.075rem; line-height: 1.75; color: var(--color-primary-800); display: grid; gap: 1rem; max-width: 52rem; }
.article-body p { margin: 0; }
.article-body h2 { margin: 1.35rem 0 0.15rem; font-size: 1.45rem; line-height: 1.3; color: var(--color-primary-900); }
.article-body h3 { margin: 0.85rem 0 0; font-size: 1.15rem; color: var(--color-primary-900); }
.article-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.55rem; }
.article-body li { padding-left: 0.2rem; }
.article-tip {
  margin: 0.35rem 0 0; padding: 1.1rem 1.25rem; border-radius: 1rem;
  background: rgb(255 247 237 / 0.95); border: 1px solid #fed7aa; color: var(--color-primary-900);
}
.article-table-wrap {
  margin: 0.35rem 0 0.5rem; overflow-x: auto; border: 1px solid var(--color-primary-100);
  border-radius: 1rem; box-shadow: var(--shadow); background: #fff;
}
.article-table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: 0.95rem; }
.article-table th, .article-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; line-height: 1.45; }
.article-table thead th {
  background: var(--color-primary-900); color: #fff; font-weight: 700; letter-spacing: 0.01em;
}
.article-table tbody th { font-weight: 700; color: var(--color-primary-900); width: 32%; background: var(--color-primary-50); }
.article-table tbody tr:nth-child(even) td { background: rgb(238 244 250 / 0.45); }
.article-table tbody tr:hover td, .article-table tbody tr:hover th { background: rgb(255 247 237 / 0.7); }
.article-table td + td, .article-table th + th, .article-table th + td { border-left: 1px solid var(--color-primary-100); }
.article-table tbody tr + tr th, .article-table tbody tr + tr td { border-top: 1px solid var(--color-primary-100); }
.article-figure { margin: 0.5rem 0 1rem; }
.article-figure img {
  width: 100%; max-height: 36rem; object-fit: contain; background: #eef4fa;
  border-radius: 0.85rem; display: block;
}
.article-figure figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--color-primary-500); }
.article-video { position: relative; aspect-ratio: 16 / 9; border-radius: 0.85rem; overflow: hidden; background: #0a1628; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-share-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 2rem; }
.article-back-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; color: var(--color-accent); font-weight: 700;
  text-decoration: none; min-height: 2.75rem;
}
