
:root {
  --bg-home: #f3ece1;
  --bg-services: #eef5f3;
  --bg-reports: #f4eef6;
  --bg-areas: #f2f4ff;
  --bg-about: #fff6ec;
  --bg-request: #e9f3ff;

  --color-text: #1f2529;
  --color-muted: #5b656f;
  --color-primary: #145a4b;
  --color-accent: #1f6fd8;
  --color-card: #ffffff;
  --border-soft: #ded6c9;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 30px rgba(0,0,0,0.06);
  --max-width: 1100px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--bg-home);
}

/* Page backgrounds */
body.page-home { background: var(--bg-home); }
body.page-services { background: var(--bg-services); }
body.page-reports { background: var(--bg-reports); }
body.page-areas { background: var(--bg-areas); }
body.page-about { background: var(--bg-about); }
body.page-request { background: var(--bg-request); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.3rem;
  padding: 0.2rem 0.5rem;
}

.nav-list {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-muted);
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-text);
}

.nav-list a.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.header-cta {
  align-self: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.8);
  color: var(--color-primary);
  border-color: rgba(20,90,75,0.3);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn:hover {
  filter: brightness(1.03);
}

/* Layout */
.page-main {
  max-width: var(--max-width);
  margin: 2.3rem auto 2.5rem;
  padding: 0 1rem 2rem;
}

/* Hero */
.hero {
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.03);
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 2.6vw + 1.5rem, 2.8rem);
  margin: 0 0 0.8rem;
}

.lead {
  font-size: 1.02rem;
  color: var(--color-muted);
  max-width: 38rem;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Cards row */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.info-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border-soft);
}

.info-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

/* Process */
.process {
  margin-top: 2.5rem;
}

.process h2 {
  margin-bottom: 0.8rem;
}

.process ol {
  padding-left: 1.1rem;
  color: var(--color-muted);
}

/* Generic content */
.content-section {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.03);
}

.content-section h1 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

/* Form */
.appointment-form {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: #c43f3f;
  margin-left: 0.15rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.6rem 0.9rem;
  font: inherit;
}

textarea {
  border-radius: 16px;
  resize: vertical;
}

.form-helper {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.3rem 1rem 1.6rem;
  background: rgba(255,255,255,0.96);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-contact {
  display: flex;
  gap: 1rem;
}

.footer-contact a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .brand img {
    height: 44px;
  }

  .header-right {
    align-items: flex-end;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-end;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 1.9rem;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    padding: 0.5rem 0.75rem;
    min-width: 11rem;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .page-main {
    margin-top: 1.3rem;
  }

  .hero {
    padding: 1.5rem 1.2rem;
  }

  .cards-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
