@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Kent Solutions color scheme */
  --color-header: #4b6177;        /* slate blue header bar */
  --color-header-dark: #3a4d60;   /* hover / footer */
  --color-accent: #8e3141;        /* burgundy buttons */
  --color-accent-dark: #742634;   /* button hover */
  --color-card: #cbd8e2;          /* light blue-gray cards */
  --color-card-soft: #e4ebf1;     /* lighter tint for inputs, rows */
  --color-surface: #f6f4f0;       /* warm off-white panels */
  --color-background: #ffffff;
  --color-text: #1b1d21;          /* near-black headings and body */
  --color-text-muted: #4a5561;
  --color-on-dark: #ffffff;
  --color-border: #b7c6d2;
  --color-success: #2f6b4f;
  --color-error: #8e3141;

  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-card: 32px;
  --radius-pill: 999px;
  --radius-input: 10px;
  --shadow-card: 0 10px 30px rgba(27, 29, 33, 0.08);
  --max-width: 1170px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}
h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--color-accent); }
a:hover { color: var(--color-accent-dark); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--color-header);
  color: var(--color-on-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
}
.site-logo {
  color: var(--color-on-dark);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-logo:hover { color: var(--color-on-dark); }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: 1.15rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Sections and cards */
.section { padding: 72px 0; }
.section--surface { background: var(--color-surface); }
.section--tint { background: var(--color-card-soft); }

.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 48px;
}
.card--surface {
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.card--white {
  background: var(--color-background);
  box-shadow: var(--shadow-card);
}

.lead { font-size: 1.3rem; color: var(--color-text); }
.muted, .note { color: var(--color-text-muted); font-size: 0.95rem; }

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-dark);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button:hover,
.button:focus-visible {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-on-dark);
}
.button--outline {
  background: transparent;
  color: var(--color-accent);
}
.button--outline:hover { color: var(--color-on-dark); }
.button:disabled { opacity: 0.6; cursor: wait; }

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

/* Forms and calculator inputs */
label { display: block; font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-background);
  color: var(--color-text);
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-header);
  outline: 2px solid var(--color-card);
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-input); }
.form-status.is-success { background: #e3f0e8; color: var(--color-success); }
.form-status.is-error { background: #f6e3e6; color: var(--color-error); }

/* Footer */
.site-footer {
  background: var(--color-header-dark);
  color: var(--color-on-dark);
  padding: 40px 0;
  font-size: 0.95rem;
}
.site-footer a { color: var(--color-on-dark); }

@media (max-width: 760px) {
  .site-header .container { flex-direction: column; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
  .site-nav ul { justify-content: center; gap: 8px 20px; }
  .card { padding: 32px 24px; border-radius: 24px; }
  .section { padding: 48px 0; }
}