:root {
  --c-p1: #01ab9d;
  --c-p1a: #007067;
  --c-p2: #4ca89d;
  --c-n1: #faf8f5;
  --c-n2: #eae0d6;
  --c-n3: #ffffff;
  --c-n4: #10211f;
  --c-a1: #fae8bd;
  --c-muted: #4a5b58;
  --c-error: #9b1c1c;
  --c-line: rgba(16, 33, 31, 0.1);
  --shadow: 0 12px 40px rgba(16, 33, 31, 0.08);
  --shadow-sm: 0 4px 16px rgba(16, 33, 31, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(1, 171, 157, 0.12), transparent 60%),
    var(--c-n1);
  color: var(--c-n4);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--c-p1a);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  background: var(--c-p1a);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell > main {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  background: transparent;
  color: inherit;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--c-p1a);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 112, 103, 0.22);
}
.btn-primary:hover:not(:disabled) { background: #005a53; }

.btn-secondary {
  background: #fff;
  color: var(--c-p1a);
  border-color: rgba(0, 112, 103, 0.28);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--c-p1a); background: #f3fbfa; }

.btn-ghost {
  background: transparent;
  color: var(--c-n4);
  border-color: var(--c-line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-p1a);
  margin: 0 0 12px;
}

.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--c-n4);
  margin: 0 0 16px;
}

.muted { color: var(--c-muted); }

.link-teal {
  color: var(--c-p1a);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-teal:hover { border-bottom-color: var(--c-p1a); }

.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.field label { font-weight: 650; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--c-muted); font-weight: 500; }
.field-error, .error-message { color: var(--c-error); font-size: 13px; margin: 0; }

.input, .textarea, select.input, .field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid rgba(16, 33, 31, 0.16);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-n4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus, select.input:focus,
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-p1a);
  box-shadow: 0 0 0 4px rgba(0, 112, 103, 0.12);
}
.textarea, .field textarea { min-height: 148px; resize: vertical; }
.form-error, input.form-error, textarea.form-error {
  border-color: var(--c-error);
}

.form-status { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.form-status.error, .message.error { background: #fdecea; color: var(--c-error); }
.form-status.success, .message.success { background: #e5f4f2; color: var(--c-p1a); }
.message {
  width: min(100% - 40px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 33, 31, 0.08);
  box-shadow: 0 8px 28px rgba(16, 33, 31, 0.04);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
}
.brand-name {
  font-weight: 780;
  letter-spacing: -0.045em;
  font-size: 18px;
  color: var(--c-n4);
  line-height: 1;
}
.brand-name span { color: var(--c-p1a); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-links a,
.nav-links button {
  position: relative;
  text-decoration: none;
  padding: 8px 12px;
  color: var(--c-muted);
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links button:hover { color: var(--c-n4); }
.nav-links a[aria-current="page"] { color: var(--c-p1a); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-p1a);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 33, 31, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  min-height: 40px;
  background: var(--c-n1);
  width: 196px;
}
.header-search svg { color: var(--c-muted); flex-shrink: 0; }
.header-search input {
  border: 0;
  outline: 0;
  min-height: 36px;
  width: 100%;
  background: transparent;
  font-size: 14px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.header-quote { color: var(--c-p1a); border-color: rgba(0, 112, 103, 0.28); }
.header-hi { font-size: 13px; font-weight: 600; color: var(--c-muted); }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(16, 33, 31, 0.12);
  border-radius: 10px;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-footer {
  background: #0b1917;
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0 0;
  margin-top: auto;
  font-size: 13px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8ee0d6; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(110px, 0.75fr)) minmax(190px, 1.1fr);
  gap: 8px 36px;
  align-items: start;
  padding-bottom: 20px;
}
.footer-brand,
.footer-main strong {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-brand {
  color: #fff;
  text-transform: none;
  letter-spacing: -0.04em;
  font-size: 16px;
  font-weight: 780;
  gap: 8px;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-brand .brand-name { color: #fff; font-size: 16px; }
.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-main ul a {
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}
.footer-blurb {
  margin: 0 0 12px;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}
.footer-quote {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--c-p1a);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.footer-quote:hover { background: #005a53; color: #fff; }
.footer-visit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-visit address,
.footer-visit > a {
  margin: 0;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.footer-map {
  position: relative;
  overflow: hidden;
  width: min(100%, 240px);
  height: 56px;
  margin: 0 0 14px auto;
  border-radius: 10px;
  background: #102422;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-map iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  height: 280%;
  border: 0;
  transform: translate(-50%, -48%);
  pointer-events: none;
  filter: grayscale(0.45) saturate(0.7) brightness(0.82);
}
.footer-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 25, 23, 0.45) 0%, transparent 45%, rgba(11, 25, 23, 0.28) 100%);
  pointer-events: none;
}
.footer-map-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.footer-map:hover iframe { filter: grayscale(0.15) saturate(0.9) brightness(0.92); }
.footer-map-hit:focus-visible { outline: 2px solid var(--c-p1a); outline-offset: 2px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bar p { margin: 0; }
.footer-social { display: flex; align-items: center; gap: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.footer-social a:hover {
  color: #8ee0d6;
  border-color: rgba(142, 224, 214, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides, .hero-slide, .hero-scrim {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-on { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-scrim {
  background: linear-gradient(
    90deg,
    rgba(250, 248, 245, 0.96) 0%,
    rgba(250, 248, 245, 0.88) 38%,
    rgba(250, 248, 245, 0.35) 68%,
    rgba(250, 248, 245, 0.08) 100%
  );
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0 0 18px;
  color: var(--c-n4);
}
.hero h1 em {
  font-style: italic;
  color: var(--c-p1a);
  font-weight: 520;
}
.hero-lead {
  font-size: 18px;
  max-width: 42ch;
  color: var(--c-muted);
  margin: 0 0 24px;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 88px 0;
}
.about h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
}
.about p { margin: 0 0 16px; max-width: 48ch; color: var(--c-muted); }
.about-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section { padding: 72px 0; }
.section h1, .page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.center-title { text-align: center; }

.cta-band {
  background: var(--c-p1a);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 20px 0 72px;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.82); max-width: 42ch; }
.cta-band .btn-secondary { color: var(--c-p1a); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  border: 1px solid var(--c-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; background: var(--c-n2); }
.product-card > div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h2, .product-card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }

.faq-search { max-width: 640px; margin: 0 auto 28px; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: #fff;
  color: var(--c-n4);
  border: 0;
  min-height: 60px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 650;
  cursor: pointer;
}
.faq-item button[aria-expanded="true"] { color: var(--c-p1a); }
.faq-item button svg { flex-shrink: 0; transition: transform 0.15s ease; }
.faq-item button[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-panel { padding: 0 18px 18px; color: var(--c-muted); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 29, 0.5);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: min(100%, 460px);
  max-height: min(90vh, 780px);
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--c-line);
  min-height: 100%;
}
.step strong { color: var(--c-p1a); display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.step h3 { margin: 0 0 8px; font-size: 20px; }

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(100px, 1fr));
    gap: 20px 28px;
  }
}

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  .header-tools { order: 3; }
  .site-header-inner { gap: 12px; min-height: 60px; }
  nav, .header-tools { display: none; }
  .site-header.is-open nav,
  .site-header.is-open .header-tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(16, 33, 31, 0.08);
  }
  .site-header.is-open .site-header-inner { flex-wrap: wrap; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links a,
  .nav-links button {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
  }
  .nav-links a[aria-current="page"]::after { display: none; }
  .header-search { width: 100%; }
  .header-actions { justify-content: stretch; }
  .header-actions .btn { flex: 1; }
  .hero { min-height: 72vh; }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(250, 248, 245, 0.92) 0%,
      rgba(250, 248, 245, 0.82) 55%,
      rgba(250, 248, 245, 0.4) 100%
    );
  }
  .about, .product-grid, .steps, .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}

.auth-page, .contact-page {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 76px);
}
.auth-aside {
  background:
    linear-gradient(160deg, rgba(0, 112, 103, 0.88), rgba(13, 31, 29, 0.92)),
    url("/img/products/photo-id-cards.png") center/cover;
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.auth-aside h2 { font-family: var(--font-display); font-size: 40px; margin: 0 0 12px; color: #fff; }
.auth-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card, .contact-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.auth-card h1, .contact-card h1, .auth-card h2 {
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--c-n4);
  margin: 0 0 8px;
}
.auth-logo { margin-bottom: 16px; width: 56px; height: auto; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pwd-wrap { position: relative; }
.pwd-wrap .input { padding-right: 84px; }
.pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--c-p1a);
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
}

.legal { max-width: 720px; }
.legal p { color: var(--c-muted); }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: start;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.quote-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.quote-grid .field-span,
.quote-grid .field:nth-last-child(1) { grid-column: 1 / -1; }
.quote-side {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 18px;
}
.quote-side h2 { margin: 0 0 8px; font-size: 16px; }
.quote-side ul { margin: 0; padding-left: 1.15em; color: var(--c-muted); display: grid; gap: 6px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.field .hint, .form-text { font-size: 13px; color: var(--c-muted); }
.g-recaptcha { margin: 0 0 16px; }

.ed-page { background: #fff; padding-bottom: 72px; }
.ed-hero {
  text-align: center;
  padding: 64px 0 40px;
}
.ed-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.ed-hero > p {
  max-width: 42ch;
  margin: 0 auto 28px;
  color: var(--c-muted);
  font-size: 17px;
}
.ed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #f7f7f6;
}
.ed-search svg { color: var(--c-muted); flex-shrink: 0; }
.ed-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  min-height: 44px;
  font-size: 15px;
}
.ed-search .btn { min-height: 44px; padding-inline: 20px; }
.ed-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 24px;
}
.ed-main-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.ed-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.ed-cats button {
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-muted);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.ed-cats button:hover { color: var(--c-n4); border-color: rgba(0, 112, 103, 0.28); }
.ed-cats button.is-on {
  background: var(--c-p1a);
  border-color: var(--c-p1a);
  color: #fff;
}
.ed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ed-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ed-card a { text-decoration: none; color: inherit; display: block; }
.ed-card-media { overflow: hidden; aspect-ratio: 16 / 11; background: var(--c-n2); }
.ed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ed-card:hover .ed-card-media img { transform: scale(1.04); }
.ed-card-body { padding: 16px 16px 18px; display: grid; gap: 8px; }
.ed-card-body h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.15s ease;
}
.ed-card:hover h3 { color: var(--c-p1a); }
.ed-card-body p { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.5; }
.ed-card-meta { font-size: 12px; color: var(--c-muted); font-weight: 600; }
.ed-tag {
  margin: 0;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-p1a);
}
.ed-empty {
  border: 1px dashed var(--c-line);
  border-radius: 18px;
  padding: 48px 24px;
  text-align: center;
  background: #fafafa;
}
.ed-empty h3 { margin: 0 0 8px; }
.ed-empty p { margin: 0; color: var(--c-muted); }
.ed-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.ed-pages button {
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 650;
  cursor: pointer;
}
.ed-pages button:disabled { opacity: 0.4; cursor: not-allowed; }
.ed-pages p { margin: 0; font-size: 13px; color: var(--c-muted); }
.ed-side h2 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ed-side h2 + .ed-side-list + h2 { margin-top: 28px; }
.ed-side-list { display: grid; gap: 14px; }
.ed-side-item a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.ed-side-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--c-n2);
}
.ed-side-item h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; }
.ed-side-item p { margin: 0; font-size: 12px; color: var(--c-muted); }
.ed-side-item a:hover h3 { color: var(--c-p1a); }
.ed-article { max-width: 800px; padding-top: 48px; }
.ed-article h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 8px 0 12px;
}
.ed-dek { font-size: 18px; color: var(--c-muted); margin: 0 0 12px; }
.ed-byline { font-size: 13px; color: var(--c-muted); font-weight: 600; margin: 0 0 24px; }
.ed-hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 28px;
  background: var(--c-n2);
}
.ed-body { max-width: 720px; }
.ed-body p, .ed-body li { color: var(--c-muted); font-size: 17px; line-height: 1.75; }
.ed-body h2 { font-size: 22px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.ed-body ul, .ed-body ol { padding-left: 1.2em; }
.ed-body img { width: 100%; border-radius: 14px; margin: 16px 0; }
.ed-body blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 18px;
  border-left: 3px solid var(--c-p1a);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--c-n4);
}
.ed-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 8px; }
.ed-share p { margin: 0 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.ed-share a, .ed-share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-n4);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.ed-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.ed-pager a {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: var(--c-muted);
  font-size: 13px;
}
.ed-pager a.is-next { text-align: right; justify-items: end; }
.ed-pager strong { color: var(--c-n4); font-size: 15px; }
.ed-related { margin-top: 12px; padding-bottom: 72px; }
.ed-related h2 { font-family: var(--font-display); font-size: 28px; margin: 0 0 18px; }

.chat-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--c-p1a);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 112, 103, 0.35);
}
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 60;
  width: min(calc(100vw - 32px), 380px);
  height: 500px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat-panel[hidden] { display: none !important; }
.chat-head { padding: 14px 16px; background: var(--c-p1a); color: #fff; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.chat-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f4ef; }
.bubble { padding: 10px 12px; border-radius: 14px; max-width: 88%; font-size: 14px; line-height: 1.45; }
.bubble.bot { background: #fff; align-self: flex-start; border: 1px solid var(--c-line); }
.bubble.user { background: var(--c-p1a); color: #fff; align-self: flex-end; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--c-line); background: #fff; }
.chat-form input {
  flex: 1;
  min-height: 42px;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  padding: 0 14px;
}

@media (max-width: 760px) {
  .footer-main { padding-bottom: 18px; }
}

@media (max-width: 991.98px) {
  .auth-page, .contact-page, .quote-layout, .quote-grid, .ed-main, .ed-grid, .ed-pager {
    grid-template-columns: 1fr;
  }
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-search { flex-wrap: wrap; padding: 10px; }
  .ed-search input { width: 100%; min-width: 0; }
  .ed-search .btn { width: 100%; }
  .auth-aside { display: none; }
}
