/*
Theme Name: iD-Door AI
Theme URI: https://id-door.com
Author: Codex
Description: Lightweight AI-built WordPress theme for iD-Door staging.
Version: 1.0.0
Text Domain: id-door-ai
*/

:root {
  --ink: #12221f;
  --muted: #5a6663;
  --line: #dfe6e2;
  --paper: #ffffff;
  --soft: #f5f2ea;
  --soft-2: #eef6f4;
  --brand: #0f766e;
  --brand-dark: #0a4f4a;
  --gold: #e7a52f;
  --red: #b73535;
  --shadow: 0 18px 50px rgba(18, 34, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 118, 110, 0.36);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  border-radius: 8px;
  font-size: 17px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #23312e;
  font-size: 15px;
  font-weight: 760;
}

.desktop-nav a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu {
  display: none;
}

.mobile-menu-panel {
  display: none;
}

.btn,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn.secondary:hover {
  background: var(--soft-2);
}

.btn.gold {
  color: #1d1504;
  background: var(--gold);
}

.btn.gold:hover {
  background: #d69218;
}

.btn.phone {
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #16211f;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 34, 31, 0.92), rgba(18, 34, 31, 0.72) 42%, rgba(18, 34, 31, 0.18) 78%),
    linear-gradient(0deg, rgba(18, 34, 31, 0.72), rgba(18, 34, 31, 0.05) 44%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100vh - 76px));
  padding: 86px 0 74px;
}

.hero-copy {
  width: min(690px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #f7d892;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 99px;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: 70px;
  font-weight: 900;
}

h2 {
  max-width: 820px;
  font-size: 48px;
  font-weight: 900;
}

h3 {
  font-size: 22px;
  font-weight: 880;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  color: #dbe7e3;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.trust-item {
  min-height: 104px;
  padding: 22px;
  background: rgba(18, 34, 31, 0.82);
}

.trust-item strong {
  display: block;
  color: #fff;
  font-size: 27px;
  line-height: 1.05;
}

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section.soft-2 {
  background: var(--soft-2);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p,
.wide-copy {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card,
.post-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(18, 34, 31, 0.04);
}

.card {
  padding: 28px;
}

.card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.card p,
.faq-card p,
.post-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 48px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checklist li::before {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 900;
  content: "✓";
}

.metric-panel {
  padding: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-panel h3 {
  color: #fff;
}

.metric-panel p,
.metric-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.metric-panel .callout {
  padding: 18px;
  margin-top: 20px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 850;
}

.use-case {
  min-height: 270px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), #22302d);
  border-radius: var(--radius);
}

.use-case:nth-child(2) {
  background: linear-gradient(135deg, #534116, #2a2f26);
}

.use-case:nth-child(3) {
  background: linear-gradient(135deg, #5b3030, #293130);
}

.use-case:nth-child(4) {
  background: linear-gradient(135deg, #174860, #20302d);
}

.use-case p {
  color: rgba(255, 255, 255, 0.82);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.video-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(18, 34, 31, 0.08);
}

.video-card video {
  display: block;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 10 / 16;
  object-fit: cover;
  background: #11221f;
  border-radius: 8px;
}

.video-card.explainer {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.video-card.explainer video {
  max-height: none;
  aspect-ratio: 16 / 9;
}

.video-card.explainer p {
  color: rgba(255, 255, 255, 0.78);
}

.video-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-card.explainer .video-copy span {
  color: #f7d892;
}

.video-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 64px;
}

.process .card::before {
  position: absolute;
  top: 22px;
  left: 28px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  counter-increment: step;
  content: counter(step);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-card {
  padding: 24px;
}

.faq-card h3 {
  font-size: 20px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.post-card.has-image {
  min-height: 310px;
}

.post-card .post-thumb {
  aspect-ratio: 16 / 9;
  background: var(--soft-2);
}

.post-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.post-card a {
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 850;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.post-card .post-actions a {
  margin-top: 0;
  padding: 8px 10px;
  background: var(--soft-2);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.1;
  text-decoration: none;
}

.news-social-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.news-social-panel .social-link {
  width: 100%;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.review-widget-live {
  margin-top: 24px;
}

.review-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.review-card blockquote {
  margin: 18px 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.review-card footer {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.review-source {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.review-source a {
  color: var(--brand-dark);
  font-weight: 850;
}

.contact-band {
  color: #fff;
  background: var(--ink);
}

.contact-band .split {
  align-items: start;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.contact-box a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.contact-social {
  display: grid;
  gap: 12px;
  margin: 18px 0 12px;
  padding: 18px 0 4px;
}

.contact-social strong,
.footer-social strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
}

.social-link span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.social-link-google span {
  background: var(--gold);
}

.social-link-linkedin span {
  background: #0a66c2;
}

.social-link-facebook span {
  background: #1877f2;
}

.social-links-compact .social-link {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.social-links-footer {
  margin-top: 12px;
}

.social-links-footer .social-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 42px 0 86px;
  color: #cfd9d6;
  background: #0d1715;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-social {
  min-width: min(360px, 100%);
}

.footer-inner a {
  color: #fff;
}

.mobile-callbar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mobile-callbar .btn {
  flex: 1;
}

.content-page {
  padding: 72px 0;
}

.content-page article {
  width: min(780px, 100%);
}

.content-page h1 {
  color: var(--ink);
  font-size: 56px;
}

.content-page .entry-content {
  margin-top: 28px;
}

.sub-hero {
  padding: 86px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 34, 31, 0.96), rgba(15, 118, 110, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(231, 165, 47, 0.28), transparent 34%);
}

.sub-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 44px;
  align-items: center;
}

.sub-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.sub-hero .hero-lede {
  color: rgba(255, 255, 255, 0.88);
}

.sub-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  color: #f7d892;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-dashboard,
.data-panel,
.map-panel {
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mini-dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
}

.status-pill::before {
  width: 10px;
  height: 10px;
  background: #20b26b;
  border-radius: 99px;
  content: "";
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.dash-tile {
  min-height: 92px;
  padding: 15px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dash-tile strong {
  display: block;
  font-size: 26px;
  line-height: 1.05;
}

.dash-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.dash-bars {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.dash-bars i {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 99px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card h3::before {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  content: "✓";
  font-size: 18px;
}

.feature-card p {
  color: var(--muted);
}

.mock-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 14px;
}

.mock-table th,
.mock-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mock-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.denmark-map {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.map-shape {
  fill: #dcece8;
  stroke: #7aa9a2;
  stroke-width: 2;
}

.map-marker {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 4;
}

.map-marker.gold {
  fill: var(--gold);
}

.installation-proof-panel {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.installation-proof-panel span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.installation-proof-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--brand-dark);
  font-size: 64px;
  line-height: 1;
}

.installation-proof-panel p {
  margin: 0;
  color: var(--muted);
}

.section-head.left {
  max-width: 820px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.installation-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

#iddoor-installation-map {
  min-height: 560px;
  overflow: hidden;
  background: #dcece8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.leaflet-container {
  color: var(--ink);
  font: inherit;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.leaflet-popup-content {
  display: grid;
  gap: 2px;
  min-width: 185px;
  margin: 13px 15px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.leaflet-popup-content strong {
  font-size: 15px;
  line-height: 1.2;
}

.leaflet-popup-content span {
  color: var(--muted);
}

.installation-map-meta {
  display: grid;
  gap: 14px;
}

.map-stat,
.map-legend,
.map-note {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-stat span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.map-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 36px;
  line-height: 1;
}

.map-legend h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.map-legend p {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.map-legend p + p {
  border-top: 1px solid var(--line);
}

.map-legend i {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border: 2px solid #fff;
  border-radius: 99px;
  box-shadow: 0 0 0 1px rgba(18, 34, 31, 0.16);
}

.map-legend i[data-type="Blomsterbutik"] {
  background: var(--gold);
}

.map-legend i[data-type="Butik eller showroom"] {
  background: #315b8c;
}

.map-legend i[data-type="Offentlig/kommunal lokation"] {
  background: #7a4fb1;
}

.map-legend i[data-type="Mobil eller midlertidig butik"] {
  background: #c55538;
}

.map-legend i[data-type="Selvbetjent lokation"] {
  background: #1d8f72;
}

.map-legend strong {
  color: var(--ink);
}

.map-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.region-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.region-card .icon {
  width: auto;
  min-width: 42px;
  padding-inline: 10px;
}

.region-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.region-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.region-list strong {
  min-width: 140px;
}

.privacy-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.privacy-step {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-step span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.source-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.entry-media {
  width: min(920px, 100%);
  margin: 30px 0;
  overflow: hidden;
  border-radius: 8px;
}

.entry-media img {
  width: 100%;
  height: auto;
}

.news-share {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-share strong {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-login,
.admin-dashboard-hero {
  padding: 86px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 34, 31, 0.96), rgba(15, 118, 110, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(231, 165, 47, 0.3), transparent 35%);
}

.dashboard-login-grid,
.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 44px;
  align-items: center;
}

.dashboard-login .hero-lede,
.admin-dashboard-hero .hero-lede {
  color: rgba(255, 255, 255, 0.88);
}

.dashboard-login-panel,
.dashboard-summary-panel,
.recent-work-panel {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-login-panel form {
  display: grid;
  gap: 14px;
}

.dashboard-login-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.dashboard-login-panel input[type="text"],
.dashboard-login-panel input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.dashboard-login-panel .login-remember label {
  display: flex;
  gap: 9px;
  align-items: center;
}

.dashboard-summary-panel span,
.dashboard-stat span,
.dashboard-check span,
.optimization-list span {
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.dashboard-summary-panel strong {
  display: block;
  margin: 8px 0;
  color: var(--brand-dark);
  font-size: 62px;
  line-height: 1;
}

.dashboard-summary-panel p {
  margin: 0;
  color: var(--muted);
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-stat,
.dashboard-check,
.optimization-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 34, 31, 0.04);
}

.dashboard-stat {
  padding: 24px;
}

.dashboard-stat strong {
  display: block;
  margin-top: 10px;
  color: var(--brand-dark);
  font-size: 44px;
  line-height: 1;
}

.dashboard-stat p,
.dashboard-check p,
.optimization-list p,
.recent-work-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.dashboard-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.section-head.compact {
  display: block;
  margin-bottom: 28px;
}

.section-head.compact h2 {
  margin-bottom: 14px;
}

.daily-progress {
  display: grid;
  gap: 10px;
}

.daily-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.daily-row span,
.daily-row strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.daily-row i {
  display: block;
  width: var(--bar-width);
  min-width: 8px;
  height: 16px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 99px;
}

.recent-work-panel h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.recent-work-list {
  display: grid;
  gap: 12px;
}

.recent-work-list article {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.recent-work-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.recent-work-list span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-work-list h3 {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.25;
}

.dashboard-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-check {
  padding: 22px;
}

.dashboard-check span,
.optimization-list span {
  padding: 6px 9px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
}

.dashboard-check.is-warn span {
  color: #241704;
  background: var(--gold);
}

.dashboard-check.is-watch span {
  background: #315b8c;
}

.dashboard-check.is-todo span {
  background: var(--ink);
}

.dashboard-check h3 {
  margin-top: 14px;
  font-size: 20px;
}

.optimization-list {
  display: grid;
  gap: 12px;
}

.optimization-list article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
}

.optimization-list span {
  justify-content: center;
  background: var(--ink);
}

.optimization-list h3 {
  font-size: 20px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 850;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] .mobile-menu-panel {
    position: absolute;
    right: 20px;
    left: 20px;
    top: 70px;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .mobile-menu-panel a {
    padding: 10px;
    text-decoration: none;
    font-weight: 820;
  }

  .trust-strip .wrap,
  .grid-3,
  .grid-2,
  .video-grid,
  .post-grid,
  .review-grid,
  .section-head,
  .split,
  .sub-hero .wrap,
  .feature-list,
  .map-layout,
  .installation-map-shell,
  .region-card-grid,
  .privacy-flow,
  .dashboard-login-grid,
  .dashboard-hero-grid,
  .dashboard-stat-grid,
  .dashboard-two-col,
  .dashboard-check-grid {
    grid-template-columns: 1fr;
  }

  .video-card.explainer {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 74px 0 52px;
  }

  h1 {
    font-size: 54px;
  }

  h2,
  .content-page h1 {
    font-size: 40px;
  }

  .section {
    padding: 66px 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text small {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(18, 34, 31, 0.95), rgba(18, 34, 31, 0.78) 55%, rgba(18, 34, 31, 0.38)),
      linear-gradient(0deg, rgba(18, 34, 31, 0.8), rgba(18, 34, 31, 0.1) 50%);
  }

  h1 {
    font-size: 35px;
  }

  h2,
  .content-page h1 {
    font-size: 29px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-inner {
    padding: 58px 0 42px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  #iddoor-installation-map {
    min-height: 430px;
  }

  .installation-proof-panel strong {
    font-size: 52px;
  }

  .trust-item {
    min-height: auto;
    padding: 18px;
  }

  .card,
  .metric-panel,
  .faq-card,
  .video-card,
  .post-card,
  .contact-box,
  .dashboard-login-panel,
  .dashboard-summary-panel,
  .recent-work-panel,
  .dashboard-stat,
  .dashboard-check,
  .optimization-list article {
    padding: 22px;
  }

  .dashboard-login,
  .admin-dashboard-hero {
    padding: 58px 0 42px;
  }

  .dashboard-summary-panel strong {
    font-size: 48px;
  }

  .optimization-list article {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .mobile-callbar {
    display: flex;
  }
}
