:root {
  --primary: #0f172a;
  --secondary: #6366f1;
  --accent: #ec4899;
  --background: #f8fafc;
  --paragraph: #334155;
  --secondary-light: #eef2ff;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --content: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paragraph);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand { font-family: "Inter", sans-serif; color: var(--primary); }

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

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

.container {
  width: 90%;
  max-width: var(--content);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--primary);
  color: var(--background);
  border-color: var(--background);
}
.btn-primary:hover {
  background: var(--secondary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--secondary); }
.nav { display: flex; gap: 8px; }
.nav a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: var(--paragraph);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--primary); background: var(--secondary-light); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-content h1 {
  color: var(--background);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero-content .tagline {
  color: var(--background);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  margin: 0 0 36px;
}

/* Section rhythm */
section { scroll-margin-top: 80px; }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 3rem;
}

/* About */
.about { padding: 6rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.about-body h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1.5rem;
}
.about-body p { margin: 0 0 1.25rem; font-size: 1.05rem; }

/* Services */
.services {
  padding: 6rem 0;
  background: var(--secondary-light);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 24px;
}
.card h3 {
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 0 32px 1rem;
}
.card p {
  margin: 0 32px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact */
.contact { padding: 6rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.contact-lead { font-size: 1.1rem; margin: 0 0 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.label {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 4px;
}
.hours p { margin: 4px 0 0; }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
  gap: 6px;
}
.contact-form input,
.contact-form textarea {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  background: var(--background);
  color: var(--paragraph);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; }

/* Footer */
.site-footer { padding: 2rem 0 3rem; }
.site-footer hr {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin: 0 0 2rem;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.footer-contact a, .footer-contact span { color: var(--paragraph); }
.copyright { text-align: center; color: var(--paragraph); font-size: 0.95rem; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--background);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 8px 5%;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; border-radius: 8px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}
