/* Minimal, light, pastel theme */
:root {
  --bg: #ffffff;
  --text: #2b2f31;
  --muted: #6b7174;
  --primary: #7fb8ad; /* pastel teal */
  --primary-strong: #5fa69a;
  --alt: #f4f7f6; /* soft grey-green */
  --card: #ffffff;
  --border: #e3e9e7;
  --focus: #a9d9cf;
  --shadow: 0 2px 12px rgba(0,0,0,0.04);
  --header-bg: #f6f8f7; /* subtle light grey for header */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; background: #fff; padding: .5rem .75rem; border-radius: .5rem; box-shadow: var(--shadow); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.container.narrow { max-width: 780px; }

.site-header { position: sticky; top: 0; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.logo { font-size: 1.25rem; }
.brand-text { font-weight: 600; letter-spacing: .2px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: .5rem; padding: .25rem .5rem; }
.nav-menu { display: flex; align-items: center; gap: 1rem; margin-left: 0; }
/* When there's no brand element, push menu to start */
.nav > .nav-menu { margin-left: 0; }
.nav-menu a { color: inherit; text-decoration: none; padding: .5rem .75rem; border-radius: .5rem; }
.nav-menu a:hover { background: var(--alt); }
.nav-menu .cta { background: var(--primary); color: #0e1b18; font-weight: 600; }
.nav-menu .cta:hover { background: var(--primary-strong); color: white; }
.nav-menu .muted { color: var(--muted); }

.section { padding: 64px 0; }
.section.alt { background: var(--alt); }
.hero { padding: 80px 0; background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%); }
.hero h1 { margin: 0 0 .5rem; font-size: clamp(28px, 4.5vw, 42px); line-height: 1.2; }
.lead { color: var(--muted); font-size: 1.1rem; }
.actions { display: flex; gap: .75rem; margin-top: 1rem; }

.btn { display: inline-block; padding: .6rem .9rem; border-radius: .6rem; border: 1px solid var(--border); text-decoration: none; color: inherit; background: #fff; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #0e1b18; font-weight: 600; }
.btn.primary:hover { background: var(--primary-strong); color: #fff; }
.btn:hover { box-shadow: var(--shadow); }

h2 { margin-top: 0; font-size: clamp(22px, 3.5vw, 30px); }
h3 { margin-top: 0; font-size: 20px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; box-shadow: var(--shadow); }

.steps { counter-reset: step; display: grid; gap: .5rem; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: .75rem 1rem; box-shadow: var(--shadow); list-style: none; }

.contact-form { margin-top: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
label { display: grid; gap: .35rem; font-size: .95rem; }
input, select, textarea { width: 100%; padding: .6rem .65rem; border: 1px solid var(--border); border-radius: .6rem; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); border-color: var(--focus); }
.error { color: #b00020; }
.field-error input, .field-error select, .field-error textarea { border-color: #e59aa5; background: #fff6f7; }
.field-hint { font-size: .9rem; color: #b00020; }
.hp { position: absolute; left: -5000px; }
.form-actions { margin-top: .75rem; display: flex; align-items: center; gap: .75rem; }
#form-status { color: var(--muted); font-size: .95rem; }
.status-error { color: #b00020; font-weight: 600; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: #fafdfc; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; right: 1rem; top: 60px; background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: .5rem; box-shadow: var(--shadow); flex-direction: column; min-width: 240px; }
  .nav-menu.open { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
}

@media (min-width: 641px) {
  /* Center the nav items on larger screens */
  .nav { justify-content: center; }
}

/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }
