/* Divine Web Studio design system. Load order: base.css, layout.css, components.css, pages.css.
   Palette: primary #6B5B95 · accent #F4C95D · background #f2f0f4 · headings #17151C · text #625D68 · white #ffffff.
   Components: buttons, cards, badges, chips, lists, steps, tables, FAQ, forms, notices, breadcrumbs, page hero, CTA band, utilities. */

.kicker { color: var(--primary); font-weight: var(--fw-ui); font-size: .95rem; margin-bottom: .75rem; }
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--heading);
  margin-bottom: 1rem;
}
.section--soft .icon-tile { background: var(--white); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-btn);
  font: var(--fw-ui) 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--heading); color: var(--white); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--heading); }
.btn-accent:hover { background: var(--white); color: var(--heading); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: var(--white); color: var(--heading); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: var(--fw-ui); text-decoration: none; color: var(--primary); }
.hero .lead { max-width: 52ch; }
.lead { font-size: 1.2rem; line-height: 1.6; max-width: 56ch; }
.ecosystem li .icon-tile { margin: 0; width: 40px; height: 40px; }
.page-hero { background: var(--white); padding-block: 2.5rem 3.5rem; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.1rem, 5.5vw, 3.75rem); max-width: 20ch; }
.page-title--wide { max-width: 18ch; }
.breadcrumbs { margin-bottom: 1.75rem; font-size: .92rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--text); }
.breadcrumbs a { color: var(--text); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--heading); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease;
}
.section--white .card { background: var(--bg); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: 1rem; margin-bottom: 1rem; }
.card .text-link { margin-top: auto; }
.card--featured { border-color: var(--primary); }
.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent);
  color: var(--heading);
  font-weight: var(--fw-ui);
  font-size: .85rem;
  padding: .2rem .7rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.badge--soft { background: var(--primary-soft); color: var(--primary); }
.checklist li { display: flex; gap: .65rem; padding: .35rem 0; }
.checklist--tight li { padding: .2rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .35rem .8rem;
  font-size: .95rem;
  color: var(--heading);
}
.section--white .chips li { background: var(--bg); border-color: transparent; }
.media { width: 100%; border-radius: var(--radius-card); aspect-ratio: 16 / 10; object-fit: cover; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { position: relative; background: var(--white); border-radius: var(--radius-card); padding: 1.5rem; border: 1px solid var(--line); }
.section--white .step { background: var(--bg); border-color: transparent; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--heading);
  font-weight: var(--fw-strong);
  margin-bottom: 1rem;
}
.step p { margin-bottom: 0; font-size: 1rem; }
.statement {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  color: var(--heading);
  letter-spacing: -.02em;
  font-weight: var(--fw-ui);
  max-width: 28ch;
}
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); }
.compare-table { width: 100%; min-width: 40rem; border-collapse: collapse; text-align: left; font-size: 1rem; }
.compare-table caption { text-align: left; padding: 1.25rem 1.25rem 0; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { color: var(--heading); font-weight: var(--fw-ui); background: var(--bg); }
.compare-table thead th:last-child { background: var(--primary); color: var(--white); }
.compare-table tbody th { color: var(--heading); font-weight: var(--fw-ui); width: 22%; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--heading);
  font-weight: var(--fw-ui);
  font-size: 1.1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { transition: transform .25s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.15rem; margin: 0; }
.form { display: grid; gap: 1.1rem; }
.field label { display: block; color: var(--heading); font-weight: var(--fw-ui); margin-bottom: .4rem; }
.field .hint { font-weight: var(--fw-body); color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--heading);
  background: var(--white);
  border: 1px solid rgba(23,21,28,.28);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  min-height: 48px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--heading); border-width: 2px; }
.field-error { margin: .4rem 0 0; color: var(--heading); font-weight: var(--fw-ui); font-size: .95rem; }
.field-error::before { content: 'Please check: '; color: var(--primary); }
.consent { display: flex; gap: .7rem; align-items: flex-start; }
.consent input { margin-top: .35rem; accent-color: var(--primary); width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -9999px; }
.notice {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border-left: 4px solid var(--accent);
  color: var(--heading);
  margin-bottom: 1.5rem;
}
.notice p { margin: 0; }
.notice--ok { border-left-color: var(--primary); }
.cta-band { background: var(--white); padding-block: 3rem; }
.cta-inner {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.cta-inner h2 { color: var(--white); margin-bottom: .5rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.cta-inner p { margin: 0; color: var(--white); max-width: 52ch; }
.cta-inner .actions { margin-top: 0; }
.todo { background: var(--accent); color: var(--heading); padding: 0 .3em; border-radius: 4px; }

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { padding: 3.5rem 3rem; }
}


@media (min-width: 64rem) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
}

.link-plain { color: inherit; text-decoration: none; }
.link-plain:hover { color: var(--primary); }

/* Service showcase (visual-first cards) */
.showcase { display: grid; gap: 1.25rem; }
.show-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: .75rem; transition: border-color .2s ease; }
.show-card:hover, .show-card:focus-within { border-color: var(--primary); }
.show-visual { display: grid; place-items: center; border-radius: 10px; }
.show-visual--2 { background: var(--primary-soft); }
.show-visual--3 { background: rgba(244, 201, 93, .22); }
.show-visual .media { border-radius: var(--radius-sm); }
.show-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem .75rem .75rem; }
.show-body .icon-tile { margin-bottom: .85rem; }
.show-body h2, .show-body h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.show-body h2 a, .show-body h3 a { color: inherit; text-decoration: none; }
.show-body h2 a::after, .show-body h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.show-body p { font-size: 1rem; margin-bottom: 1rem; }
.show-body .text-link { margin-top: auto; }
.show-card:hover .text-link .icon { transform: translateX(3px); }
.show-points { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.show-points li { display: inline-flex; align-items: center; gap: .4rem; background: var(--bg); color: var(--heading); border-radius: var(--radius-sm); padding: .3rem .75rem; font-size: .92rem; }
.show-points .icon { color: var(--primary); }

/* Metric-style highlights */
.metrics { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 1.75rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column-reverse; gap: .35rem; }
.metric dt { font-size: .95rem; max-width: 22ch; line-height: 1.4; }
.metric dd { margin: 0; color: var(--heading); font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: var(--fw-ui); letter-spacing: -.03em; line-height: 1; }

@media (min-width: 40rem) {
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .show-card--wide { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .show-card--wide { flex-direction: row-reverse; gap: 1rem; }
  .show-card--wide .show-visual { flex: 1.15; }
  .show-card--wide .show-body { flex: 1; padding: 1.75rem 1.5rem; }
  .show-card--wide .text-link { margin-top: 0; }
  .show-card--wide .show-points { margin-top: auto; }
}

/* Floating WhatsApp button (fixed, bottom left on every page). 8px radius like all buttons. */
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-btn); background: var(--primary); color: var(--white); border: 2px solid var(--white); transition: background-color .2s ease; }
.whatsapp-float:hover { background: var(--heading); color: var(--white); }
@media (min-width: 64rem) { .whatsapp-float { right: 3rem; bottom: 3rem; } }

/* Page hero with an image beside the text */
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero-media .media { border-radius: var(--radius-card); }
@media (min-width: 64rem) {
  .page-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* Contact form: white card, floating labels, aligned checkbox */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem; }
@media (min-width: 40rem) { .form-card { padding: 2.25rem; } }

.field--float { position: relative; }
.field--float input, .field--float select, .field--float textarea { padding: 1.65rem .95rem .5rem; min-height: 58px; }
.field--float textarea { min-height: 9rem; }
.field.field--float > label { position: absolute; top: 0; left: 1px; right: 1px; margin: 0; padding: 1.05rem .95rem 0; color: var(--text); font-weight: var(--fw-body); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; transform-origin: left top; transition: transform .15s ease, color .15s ease; }
.field--float input:focus ~ label, .field--float input:not(:placeholder-shown) ~ label,
.field--float textarea:focus ~ label, .field--float textarea:not(:placeholder-shown) ~ label,
.field--float select ~ label { transform: translateY(-.55rem) scale(.78); }
.field--float input:focus ~ label, .field--float textarea:focus ~ label, .field--float select:focus ~ label { color: var(--primary); }

.field input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-height: 0; padding: 0; margin: .33rem 0 0; flex: none; accent-color: var(--primary); }
.field .consent { display: flex; align-items: flex-start; gap: .75rem; margin: 0; color: var(--text); font-weight: var(--fw-body); cursor: pointer; }

/* Website categories page */
.category-points { margin-top: 2.5rem; }
.related-services { margin: 1.5rem 0 0; }
.related-services a { margin-inline: .15rem; }
.compare-table--plain thead th:last-child { background: var(--bg); color: var(--heading); }
.compare-table--plain tbody th a { color: var(--heading); text-decoration: none; }
.compare-table--plain tbody th a:hover { color: var(--primary); text-decoration: underline; }
