:root {
  --paper: #f7f8f3;
  --surface: #ffffff;
  --ink: #171b1f;
  --muted: #5f686b;
  --line: #dfe4dc;
  --accent: #1c7c54;
  --accent-2: #e45d43;
  --accent-3: #2f6fbd;
  --shadow: 0 18px 55px rgba(23, 27, 31, .1);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.form-feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.form-feedback-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.feedback-content {
  max-width: 440px;
  padding: 48px 32px;
  background: var(--surface);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.feedback-content h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -0.01em; }
.feedback-content p { color: var(--muted); margin: 0; font-size: 16px; }
.feedback-content.is-success h3 { color: var(--accent); }
.feedback-content.is-error h3 { color: var(--accent-2); }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.nav-links a,
.admin-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 30px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover,
.admin-link:hover { 
  color: var(--ink); 
  background: rgba(23, 27, 31, .04); 
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 4px;
  gap: 4px;
}
.lang-switch button {
  min-width: 44px;
  min-height: 34px;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 101; /* Above overlay */
}
.hamburger {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: background 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(0) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: scale(1.05);
}
.lang-switch button:hover:not([aria-pressed="true"]) {
  background: rgba(0,0,0,0.05);
}
/* Hide Google Translate completely */
.goog-te-banner-frame,
#goog-te-menu-frame,
#goog-te-menu-window,
.skiptranslate.goog-te-gadget { display: none !important; }
body { top: 0 !important; }

.icon-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.icon-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.services,
.work,
.process,
.faq,
.contact,
.attention {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 56px;
  padding-top: 48px;
}
.hero-copy {
  animation: riseIn .75s ease both;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}
h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}
.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 27, 31, .15);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.primary:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 32px rgba(23, 27, 31, .2);
}
.btn:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(23, 27, 31, .1);
}
.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(23, 27, 31, .2);
}
.btn.ghost:active {
  transform: scale(0.96);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 44px 0 0;
}
.hero-stats div {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
}
.hero-stats dt {
  font-size: 22px;
  font-weight: 950;
}
.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  display: grid;
  gap: 14px;
  animation: riseIn .85s ease .08s both;
}
.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.signal-row span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  transition: all 0.3s ease;
}
.signal-row span:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}
.screen-preview {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
  animation: softFloat 7s ease-in-out infinite;
}
.screen-preview img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  opacity: .82;
}
.preview-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
}
.preview-copy strong { font-size: 24px; }
.preview-copy span { color: var(--muted); }
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.preview-grid a {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}
.preview-grid a:first-child { background: var(--accent); }
.preview-grid a:last-child { background: var(--accent-3); }

.trust-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
  border-right: 1px solid var(--line);
}
.trust-strip span:last-child { border-right: 0; }

.section-head {
  margin-bottom: 32px;
}
.inline-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.text-link {
  color: var(--accent);
  font-weight: 900;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.service-grid,
.work-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.carousel-container {
  position: relative;
  width: 100%;
}
.carousel-grid {
  display: flex !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 4px 4px 32px 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-grid::-webkit-scrollbar {
  display: none;
}
.carousel-grid .work-card {
  min-width: 320px;
  max-width: 340px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  font-size: 24px;
  font-weight: bold;
  color: var(--ink);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 1; /* Always visible */
  pointer-events: auto;
}
.carousel-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn.prev-btn { left: 8px; }
.carousel-btn.next-btn { right: 8px; }

@media (max-width: 768px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.work-card,
.admin-panel,
.login-panel {
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.info-card {
  min-height: 260px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
}
.card-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 12px;
  background: rgba(28, 124, 84, 0.08);
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}
.info-card p,
.work-card span,
details p,
.contact-copy p,
.site-footer span {
  color: var(--muted);
}

.work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-card {
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(23, 27, 31, .12);
}
.work-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  background: #e9eee6;
  transition: transform 0.3s ease;
}
.work-card:hover img {
  transform: scale(1.05);
}
.work-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.work-card p {
  margin: 0;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.work-card a { color: var(--accent); font-weight: 900; }

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
}
.empty-state h3 {
  max-width: 620px;
}
.empty-state span {
  max-width: 720px;
  color: var(--muted);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}
.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 86px 180px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.process-list li::before {
  content: "0" counter(process);
  color: var(--accent-3);
  font-weight: 950;
  font-size: 28px;
}
.process-list strong { font-size: 22px; }
.process-list span { color: var(--muted); }

details {
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
details[open] {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}

summary {
  padding: 24px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  outline: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.contact-lines a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; font-weight: 850; }
.full { grid-column: 1 / -1; }
input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  padding: 14px 18px;
  outline: 0;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
textarea { resize: vertical; }
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(28, 124, 84, .12), inset 0 2px 4px rgba(0,0,0,0.01);
}
.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 850;
}

.form-feedback-overlay { display: none; } /* Hide by default if no JS */
.form-feedback-overlay.is-visible { display: grid; }


.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.site-footer div:first-child { display: grid; gap: 4px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.admin-body,
.login-body,
.post-body {
  min-height: 100svh;
}
.admin-main,
.login-main,
.post-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: start;
}
.admin-panel,
.login-panel {
  padding: 18px;
}
.admin-panel h2,
.login-panel h1 {
  margin: 0 0 16px;
  font-size: 28px;
}
.admin-form {
  display: grid;
  gap: 12px;
}
.admin-subpanel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
}
.admin-subpanel h3,
.admin-subpanel p {
  margin: 0;
}
.admin-subpanel p {
  color: var(--muted);
}
.admin-form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-list {
  display: grid;
  gap: 10px;
}
.admin-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfcf8;
}
.admin-item h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.admin-item p { margin: 6px 0; color: var(--muted); }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.image-preview {
  min-height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fbfcf8;
  color: var(--muted);
  font-weight: 850;
}
.image-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.small-btn {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 10px;
  cursor: pointer;
  font-weight: 850;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.small-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.small-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.small-btn.danger {
  border-color: #f3b5a9;
  color: #b42d19;
}
.small-btn.danger:hover {
  background: #b42d19;
  color: #fff;
}
.login-panel {
  max-width: 520px;
  margin: 7vh auto 0;
}
.login-panel .btn {
  width: 100%;
  margin-top: 12px;
}
.post-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 64px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.03);
}
.post-article .eyebrow { text-align: center; margin-bottom: 24px; }
.post-article img.hero-image {
  width: calc(100% + 128px);
  max-width: none;
  margin: 32px 0 32px -64px;
  max-height: 580px;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.post-article h1 { 
  font-size: clamp(38px, 5vw, 62px); 
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.post-meta {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}
.post-content {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.8;
  color: #333;
}
.post-content p {
  color: #333;
}
.post-content h2 {
  margin: 48px 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.01em;
}
.post-content ul {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}
.post-content a { color: var(--accent); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 768px) {
  .post-article {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .post-article img.hero-image {
    width: calc(100% + 48px);
    margin: 24px 0 24px -24px;
  }
}

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: auto auto; }
  .nav-toggle { display: block; justify-self: end; }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links,
  .nav-actions {
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    background: transparent;
    padding: 24px;
    gap: 16px;
  }
  .nav-links {
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 0;
  }
  .nav-links a { font-size: 18px; padding: 12px; }
  .nav-actions {
    align-items: center;
    padding-top: 16px;
  }
  .hero,
  .contact,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .work-grid,
  .service-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(2) { border-right: 0; }
  .trust-strip span { border-bottom: 1px solid var(--line); }
  .trust-strip span:nth-child(n+3) { border-bottom: 0; }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .hero { padding-top: 32px; gap: 32px; }
  .hero-stats,
  .signal-row,
  .preview-grid,
  .work-grid,
  .service-grid,
  .faq-grid,
  .contact-form,
  .admin-form .two {
    grid-template-columns: 1fr;
  }
  .screen-preview,
  .screen-preview img {
    min-height: 360px;
  }
  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .inline-head {
    display: grid;
    align-items: start;
  }
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .footer-links {
    justify-content: center;
  }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-strip span:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
