:root {
  --bg: #f3f4f6;
  --bg-alt: #ffffff;
  --card-bg: #ffffff;
  --text-main: #111111;      /* main text: very dark */
  --text-muted: #4b5563;     /* softer gray for secondary text */
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border-subtle: #e5e7eb;
  --danger-soft: #fee2e2;
  --radius: 0.75rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --max-width: 1100px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: radial-gradient(circle at top, #e5e7eb 0, #f3f4f6 55%);
}

/* Layout utilities */

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

header h1 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

nav a {
  color: var(--text-muted);
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
  border-color: rgba(148, 163, 184, 0.7);
  background: var(--accent-soft);
}

/* Hero section */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-alt);
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-main);   /* dark body text */
  max-width: 34rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-card {
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.18);
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  padding: 0.8rem 1.6rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  background: #1d4ed8;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

/* Generic page sections */

.page-section {
  padding: 3rem 0;
}

.page-section .container {
  background: var(--bg-alt);
  border-radius: calc(var(--radius) * 1.2);
  border: 1px solid var(--border-subtle);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-soft);
}

.page-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--text-main);
}

.page-section p {
  color: var(--text-main);   /* dark body text in sections */
}

/* Services list */

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.service-list li {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.service-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

/* Contact form */

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.6rem;
  background: #ffffff;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Footer */

footer {
  text-align: center;
  padding: 1.8rem 1rem 2.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 2rem;
  background: #f9fafb;
}

/* Responsive tweaks */

@media (max-width: 640px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 0.4rem;
    font-size: 0.9rem;
  }

  .page-section .container {
    padding: 1.6rem 1.2rem;
  }
}
