/* Imperia isušivači — static site. No framework, no webfonts. */

:root {
  --ink: #142428;
  --muted: #3e5156;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --card: #fffcf7;
  --teal: #0f4c52;
  --teal-deep: #0c2c31;
  --line: #ddd6c8;
  --brass: #6d4a22;
  --brass-soft: #e7d3a1;
  --focus: #0f766e;
  --max: 72rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 14px 36px rgba(12, 44, 49, 0.08);
  --radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: 5.25rem;
  scroll-padding-bottom: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 5.25rem;
}

@media (min-width: 800px) {
  html { scroll-padding-bottom: 1.5rem; }
  body { padding-bottom: 0; }
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.55rem); margin-bottom: 0.9rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.28rem; margin-bottom: 0.45rem; }

p { margin-bottom: 0; }

a { color: var(--teal); }

a:hover { color: #0a3539; }

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

main:focus { outline: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow { width: min(100% - 2rem, 46rem); }

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

.topbar {
  display: none;
  background: var(--teal-deep);
  color: #d7e4e2;
  font-size: 0.95rem;
}

.topbar a { color: var(--brass-soft); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  align-items: center;
}

.topbar p { margin: 0; }

@media (min-width: 800px) {
  .topbar { display: block; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  min-height: 3rem;
}

.logo svg { width: 2.4rem; height: 2.4rem; flex: none; }

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-word strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-word span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}

.primary-nav { display: none; }

.menu { position: relative; }

.menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 50;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.menu[open] nav {
  display: flex;
  flex-direction: column;
}

.menu nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.menu nav a:hover { background: var(--paper-2); }

.menu nav a[aria-current="page"] {
  color: var(--teal);
  background: #e7f1f0;
  box-shadow: inset 3px 0 0 var(--teal);
}

@media (min-width: 1120px) {
  .menu { display: none; }
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }
  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .primary-nav a:hover { background: var(--paper-2); }
  .primary-nav a[aria-current="page"] {
    color: var(--teal);
    box-shadow: inset 0 -2px 0 var(--teal);
    border-radius: 0;
  }
}

a.header-cta { display: none; }

@media (min-width: 800px) {
  a.header-cta { display: inline-flex; white-space: nowrap; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.15rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-primary:hover { background: #0c3e43; color: #fff; }

.btn-brass {
  background: var(--brass-soft);
  color: var(--teal-deep);
  border-color: var(--brass-soft);
}

.btn-brass:hover { background: #f3e2b8; color: var(--teal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 243, 236, 0.55);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.btn-line {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-line:hover { background: #e7f1f0; color: var(--teal); }

.btn-block { width: 100%; }

.hero {
  background:
    radial-gradient(820px 380px at 100% -8%, rgba(231, 211, 161, 0.18), transparent 55%),
    var(--teal-deep);
  color: var(--paper);
  padding: 1.8rem 0 2rem;
}

.hero a:not(.btn) { color: var(--brass-soft); }
.hero .card a:not(.btn) { color: var(--teal); }
.hero .card a:not(.btn):hover { color: #0a3539; }
.hero a.pick { color: var(--paper); }
.hero a.pick:hover { color: #fff; }

.pick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.pick {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 4.6rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(246, 243, 236, 0.35);
  text-decoration: none;
}

.pick span { font-size: 0.95rem; font-weight: 700; }
.pick strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brass-soft);
  letter-spacing: -0.02em;
}

@media (min-width: 860px) {
  .pick-grid { display: none; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero .eyebrow { color: var(--brass-soft); }

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: currentColor;
  flex: none;
}

.hero .lead,
.page-hero .lead {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.hero .lead { color: #d5e4e2; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.service-grid,
.price-grid,
.why-grid,
.flow-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .service-grid,
  .price-grid,
  .why-grid,
  .flow-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}

.card .card-kicker {
  margin: 0.7rem 0 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.card h2,
.card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}

.step-title {
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
}

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

.card .price-line {
  margin: 0.85rem 0 0.35rem;
  color: var(--ink);
}

.price-line strong,
.price-xl {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.price-line span,
.price-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.card ul,
.plain-list {
  margin: 0.8rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink);
}

.card li + li,
.plain-list li + li { margin-top: 0.3rem; }

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.card-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.icon {
  width: 3rem;
  height: 3rem;
  color: var(--teal);
}

.icon svg { width: 100%; height: 100%; }

.stats {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.stats li {
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(246, 243, 236, 0.16);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
}

.stats span { color: #d5e4e2; font-size: 0.95rem; }

@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.section { padding: 3.25rem 0; }

@media (min-width: 800px) {
  .section { padding: 5rem 0; }
}

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

.section-head { max-width: 44rem; margin-bottom: 1.5rem; }

.section-head .eyebrow { color: var(--teal); }

.dek {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46rem;
}

.why-grid article,
.usecase,
.step,
.flow {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
}

.idx {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--brass);
}

.why-grid p:last-child,
.usecase p:last-child,
.step p:last-child { color: var(--muted); }

.usecase-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .usecase-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1040px) {
  .usecase-grid { grid-template-columns: repeat(6, 1fr); }
  .usecase { grid-column: span 2; }
  .usecase:nth-child(4),
  .usecase:nth-child(5) { grid-column: span 3; }
}

.usecase h3 { margin-top: 0.75rem; }
.usecase h3 a { color: var(--ink); text-decoration: none; }
.usecase h3 a:hover { color: var(--teal); text-decoration: underline; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
}

.step h3 { font-size: 1.15rem; }

.flow-title { margin: 0 0 0.85rem; }

.steps + .flow-title { margin-top: 1.8rem; }

.flow h3 { margin-top: 0; }
.flow + .flow { margin-top: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.98rem;
}

.area-block + .area-block { margin-top: 0.5rem; }

.area-block h3 { margin-bottom: 0.7rem; }

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

.compare caption {
  text-align: left;
  font-weight: 700;
  padding: 0.9rem 1rem 0.2rem;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

.compare thead th { border-top: 0; font-size: 1.02rem; }

.faq { display: flex; flex-direction: column; gap: 0.55rem; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq summary {
  cursor: pointer;
  min-height: 3.25rem;
  padding: 0.9rem 2.7rem 0.9rem 1rem;
  font-weight: 700;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 0.75rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal);
  font-weight: 500;
}

.faq details[open] summary::after { content: "–"; }

.faq-body {
  padding: 0 1rem 1rem;
  color: var(--muted);
  max-width: 68ch;
}

.faq-body a { font-weight: 700; }

.page-hero {
  padding: 2rem 0 1.6rem;
  background: linear-gradient(180deg, #efeae0 0%, rgba(246, 243, 236, 0) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow { color: var(--teal); }
.page-hero .lead { color: var(--muted); }

.crumbs { margin: 0 0 0.9rem; font-size: 0.95rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.crumbs li { display: inline-flex; gap: 0.35rem; align-items: center; }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--muted); }

.hero .crumbs a { color: var(--brass-soft); font-weight: 700; }
.hero .crumbs { color: #d5e4e2; }
.page-hero .crumbs a { font-weight: 700; }

.prose > * + * { margin-top: 1rem; }
.prose p,
.prose ul,
.prose ol,
.prose h2,
.prose h3,
.prose .note { max-width: 65ch; }
.prose h2, .prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { margin-bottom: 0; padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }

.note {
  background: #f3ead6;
  border-left: 3px solid var(--brass);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  max-width: 46rem;
}

.band {
  background: var(--teal-deep);
  color: var(--paper);
  padding: 2.5rem 0;
}

.band .dek { color: #d5e4e2; }
.band h2 { margin-bottom: 0.45rem; }

.band-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 800px) {
  .band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .band .btn { flex: none; }
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.phone-xl {
  margin: 0.3rem 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.phone-xl a { color: var(--ink); text-decoration: none; }
.phone-xl a:hover { color: var(--teal); text-decoration: underline; }

.contact-points { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-points li { margin-top: 0.35rem; }
.contact-points a { font-weight: 700; overflow-wrap: anywhere; }

form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.form-row { display: grid; gap: 0.9rem; }
@media (min-width: 700px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; }

input, select, textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9c0b0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea { min-height: 8.5rem; resize: vertical; }

input:user-invalid,
select:user-invalid,
textarea:user-invalid { border-color: #8c2f2f; }

.form-help { color: var(--muted); font-size: 0.98rem; margin-bottom: 0.9rem; }

.form-note {
  margin-top: 0.8rem;
  color: var(--ink);
}

.site-footer {
  background: var(--teal-deep);
  color: #d5e4e2;
  padding: 2.5rem 0 1.4rem;
}

.foot-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.site-footer a { color: var(--brass-soft); font-weight: 700; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.6rem;
}

.foot-brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.15rem; }
.site-footer nav a { text-decoration: none; display: flex; min-height: 3rem; align-items: center; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer a[aria-current="page"] { text-decoration: underline; }

.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  font-size: 0.95rem;
}

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--teal-deep);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
}

.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: 999px;
  background: var(--brass-soft);
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.callbar a:hover { background: #f3e2b8; color: var(--teal-deep); }

@media (min-width: 800px) {
  .callbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .btn, .card, .menu nav, .faq details { border: 1px solid ButtonText; }
  .callbar a, .btn { forced-color-adjust: none; }
}

@media print {
  .topbar, .callbar, .menu summary, .header-cta, .btn { display: none !important; }
  .site-header { position: static; }
  body { padding-bottom: 0; background: #fff; color: #000; }
  .hero, .band, .site-footer { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
