/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--page);
  color: var(--txt);
  margin: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── Page entrance animation ────────────────────────────── */
@keyframes pgIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
main, .site-main { animation: pgIn 0.4s ease both; }

/* ── Bob animation ──────────────────────────────────────── */
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%       { transform: translate(-50%, 7px); }
}
.bob { animation: bob 2s ease-in-out infinite; }

/* ── Typography utilities ───────────────────────────────── */
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }

/* Label / eyebrow text */
.lbl {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Decorative line */
.ln {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--brand);
  margin-bottom: 1.25rem;
}

/* Checkmark list item */
.ck::before {
  content: '';
  display: inline-block;
  width: .875rem;
  height: .875rem;
  margin-right: .45rem;
  vertical-align: middle;
  background-color: var(--brand);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ── Layout containers ──────────────────────────────────── */
.container {
  max-width: var(--max-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
  .container { padding-left: 3.5rem; padding-right: 3.5rem; }
}
@media (min-width: 1536px) {
  .container { padding-left: 5rem; padding-right: 5rem; }
}

/* ── Card components ────────────────────────────────────── */
.svc-card {
  background: var(--page);
  border-radius: 1rem;
  border: 1px solid var(--divclr);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(21,91,112,.13);
}

.info-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--divclr);
  padding: 1.25rem;
}

.icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  background: var(--brandbg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Print table ────────────────────────────────────────── */
.ptable { width: 100%; font-family: var(--font-sans); font-size: .875rem; }
.ptable tr:nth-child(even) td { background: var(--brandbg); }
.ptable thead th {
  background: var(--brand);
  color: #fff;
  text-align: left;
  padding: .75rem 1.25rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ptable tbody td {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--divclr);
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}
.faq-body.open { max-height: 600px; }
.faq-icon {
  transition: transform .3s;
  line-height: 1;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--txt);
  font-size: .875rem;
}
.faq-item {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--divclr);
  overflow: hidden;
}

/* ── Form elements ──────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: .875rem;
  background: var(--card);
  border: 1px solid var(--divclr);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: var(--txt);
  transition: border-color .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(107,138,148,.6); }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  color: var(--txtsub);
  margin-bottom: .375rem;
}
.form-textarea { resize: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  transition: background .2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--brandlt); color: #fff; }

.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  background: transparent;
  color: var(--brand);
  padding: .75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(21,91,112,.4);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--card); }

.btn-ghost-white {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  background: transparent;
  color: rgba(255,255,255,.8);
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .2s;
  text-decoration: none;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-white {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  background: #fff;
  color: var(--brand);
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  border: none;
  transition: background .2s;
  text-decoration: none;
}
.btn-white:hover { background: var(--brandbg); color: var(--brand); }

/* ── Utility color/bg classes ───────────────────────────── */
.bg-brand    { background: var(--brand); }
.bg-brandlt  { background: var(--brandlt); }
.bg-branddk  { background: var(--branddk); }
.bg-brandbg  { background: var(--brandbg); }
.bg-brandbg2 { background: var(--brandbg2); }
.bg-page     { background: var(--page); }
.bg-card     { background: var(--card); }

.text-brand   { color: var(--brand); }
.text-brandlt { color: var(--brandlt); }
.text-branddk { color: var(--branddk); }
.text-txt     { color: var(--txt); }
.text-txtsub  { color: var(--txtsub); }
.text-muted   { color: var(--muted); }

.border-divclr  { border-color: var(--divclr); }
.border-brandbg { border-color: var(--brandbg); }
.border-brandbg2 { border-color: var(--brandbg2); }

/* ── Flex / Grid helpers ────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2col { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .grid-2col { grid-template-columns: repeat(2, 1fr); } }

/* ── Section spacing ────────────────────────────────────── */
.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 1280px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }

/* ── USP strip icon ─────────────────────────────────────── */
.usp-icon { width: 1rem; height: 1rem; color: var(--brand); flex-shrink: 0; }

/* ── Service card image area ────────────────────────────── */
.svc-card-img {
  height: 11rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-card-img-dark {
  background: linear-gradient(to bottom right, var(--brand), var(--branddk));
}
.svc-card-img-light {
  background: var(--brandbg);
  border-bottom: 1px solid var(--divclr);
}
.svc-card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .5rem;
}

/* ── Step circle ────────────────────────────────────────── */
.step-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Avatar ─────────────────────────────────────────────── */
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Shop widget ─────────────────────────────────────────── */
.shop-widget {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--divclr);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* ── Hero stat strip ─────────────────────────────────────── */
.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  max-width: 24rem;
}

/* ── Footer links ───────────────────────────────────────── */
.footer-link {
  font-family: var(--font-sans);
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: rgba(255,255,255,.8); }

/* ── Highlight row (pull quote page) ───────────────────── */
.highlight-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--brandbg);
  border-radius: .75rem;
  border: 1px solid var(--brandbg2);
}
