:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-darker: #166534;
  --ink: #1f2937;
  --ink-light: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 800; line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.15rem; }
p { color: var(--ink-light); margin: 0 0 1rem; }
p strong { color: var(--ink); }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 720px; }

/* Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.brand-mark.small { width: 26px; height: 26px; font-size: 0.7rem; margin-right: 0.4rem; }
.brand-name { font-size: 1.15rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  color: var(--ink-light);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--green-dark);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-darker); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
}

/* Hero ----------------------------------------------------------------*/
.hero {
  background: radial-gradient(circle at top right, #eaf1ff 0%, #ffffff 55%);
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2.5rem;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-art img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-copy { font-size: 1.05rem; max-width: 640px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* Buttons ---------------------------------------------------------------*/
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-primary:hover { background: var(--green-darker); }
.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: #eef4ff; }

/* Sections --------------------------------------------------------------*/
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--blue-dark); }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.contact-direct { font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Testimonials ----------------------------------------------------------*/
.section-testimonials { background: #eef4ff; }
.testimonial { margin: 0; }
.testimonial blockquote {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 0.98rem;
}
.testimonial figcaption {
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 600;
}
.review-cta { margin: 1.5rem 0 0; }

/* Forms ------------------------------------------------------------------*/
.contact-form { margin-top: 1.5rem; }
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}
.form-row { margin-bottom: 1.1rem; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.alert-success { background: #ecfdf3; color: var(--green-dark); border: 1px solid #bbf0cd; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Footer -------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-light);
}
.footer-copy { width: 100%; text-align: center; margin-top: 0.5rem; font-size: 0.8rem; }

/* Responsive ------------------------------------------------------------*/
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art img { max-width: 240px; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}
