/* Self-hosted fonts — Inter (body) + Inter Tight (display), latin subset */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-tight-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-tight-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-tight-latin-700-normal.woff2') format('woff2');
}

:root {
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter Tight', 'Inter', sans-serif;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --surface-warm: #FAF7F2;
  --border: #dbe4ef;
  --text-strong: #0f172a;
  --text-muted: #5b6472;
  --brand: #123a63;
  --brand-strong: #0e2e4f;
  --accent: #B8956A;
  --accent-strong: #9A7B52;
}

html {
  font-size: 16px;
}

body {
  color: var(--text-strong);
  background: #f4f7fb;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-section,
.page-header {
  background: var(--surface-warm);
}

.bg-warm {
  background: var(--surface-warm);
}

.hero-panel,
.feature-card,
.service-card,
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.feature-card,
.service-card {
  height: 100%;
  transition: all .15s ease;
}

.feature-card:hover,
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.offer-card--featured {
  border-left: 4px solid var(--accent);
}

.cta-banner {
  background: var(--surface-soft);
}

.price-anchor {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stack-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .75rem;
  color: var(--text-strong);
}

.stack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6rem;
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--brand);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.trust-pill {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .9rem;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-strong);
  --bs-btn-hover-border-color: var(--brand-strong);
  --bs-btn-focus-shadow-rgb: 18, 58, 99;
}

.btn-outline-secondary {
  --bs-btn-color: var(--text-strong);
  --bs-btn-border-color: var(--border);
  --bs-btn-hover-bg: #eef3f8;
  --bs-btn-hover-border-color: #c7d2df;
  --bs-btn-hover-color: var(--text-strong);
}

.form-control {
  border-radius: .85rem;
  border-color: var(--border);
  min-height: 3rem;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(18, 58, 99, .12);
}

.section-heading {
  max-width: 42rem;
}

/* Footer */
.site-footer {
  background: var(--brand-strong);
  color: #fff;
}

.footer-link {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-strong);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: .9rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem 1.1rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: background .15s;
}

.btn-cookie-accept:hover {
  background: var(--accent-strong);
}

.btn-cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: .85rem;
  padding: .4rem 1.1rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: border-color .15s;
}

.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,.8);
}

/* Vertical rhythm utilities */
@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .py-lg-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

@media (max-width: 991.98px) {
  .hero-section,
  .page-header {
    padding-top: 3.5rem !important;
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .display-5,
  .display-6 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}
