/* Cleaned and improved stylesheet for Lynxhaven Studios */
:root {
  --bg: #f4f7fc;
  --surface: #f8fbff;
  --surface-2: #eef5ff;
  --header: rgba(255, 255, 255, 0.9);
  --text: #122033;
  --muted: #5f7189;
  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-3: #6d5dfc;
  --border: rgba(18, 32, 51, 0.08);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  --container-max: 1200px;
  --fs-base: 16px;
  --fs-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(circle at 10% 20%, rgba(59,130,246,0.25), transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(37,99,235,0.15), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, rgba(233,242,255,0.95) 50%, #f4f7fc 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
}
.home-page {
  /* Remove specific background for home page to use global body background */
  /* background: none; */
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(18, 32, 51, 0.07);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand__logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: color 140ms ease, background 140ms ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.hero, .page-hero {
  padding: 5rem 0 3.25rem;
}

.hero__grid, .split-section, .contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

h1, h2, h3 { line-height: 1.05; margin-top: 0; }
h1 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); margin-bottom: 0.8rem; letter-spacing: -0.02em; }
p {
  margin: 0 0 0.9rem;
}
ul {
  margin: 0 0 0.9rem 1.2rem;
}

.lead {
  font-size: var(--fs-lg);
  max-width: 66ch;
  color: var(--muted);
  margin-top: 0.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  padding: 1rem 1.4rem;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(37,99,235,0.18);
}
.button--ghost {
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}
.button--ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  color: var(--muted);
}
.hero__points li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 0.35rem;
}

.panel-card, .card, .faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.96));
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 1.2rem;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.home-page .panel-card,
.home-page .card,
.home-page .faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(233,242,255,0.95));
  border-color: rgba(59, 130, 246, 0.16);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.08);
}
.home-page .highlight-card {
  background: linear-gradient(135deg, rgba(200,220,255,0.96), rgba(180,210,255,0.94));
  border-color: rgba(59, 130, 246, 0.25);
}
.panel-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.highlight-card {
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(59,130,246,0.25));
  border: 1px solid rgba(37,99,235,0.20);
  box-shadow: 0 20px 50px rgba(37,99,235,0.12);
}
.about-highlight {
  margin-bottom: 1.4rem;
}
.about-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: 6.5rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid.two-up {
  grid-template-columns: 1fr;
}
.card-grid.three-up {
  grid-template-columns: 1fr;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.service-card__split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
}
.service-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.service-card__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-card__image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(18, 32, 51, 0.08);
  object-fit: cover;
}
@media (max-width: 860px) {
  .service-card__split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card__image {
    max-width: 100%;
  }
}
.service-option {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.service-option h4 {
  margin: 0 0 0.55rem;
}
.service-note {
  color: var(--muted);
  margin: 0;
}
.bundle-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.bundle-card--highlight {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(59,130,246,0.16));
  border: 1px solid rgba(37,99,235,0.14);
}

.hero__illustration {
  max-width: 320px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 0.6rem;
}

.photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.split-section img.photo { margin: 0 auto; }

@media (max-width: 860px) {
  .hero__illustration { max-width: 100%; }
  .photo { max-width: 100%; }
}
.card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.price { font-size: 1.6rem; font-weight: 700; color: var(--accent-2); margin: 0; }

.check-list li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 0.5rem;
}

.section { padding: 1.7rem 0 2.5rem; }
.section--alt { padding-top: 0.35rem; }
.section-heading { max-width: 700px; margin-bottom: 1.1rem; }

.faq-list { display: grid; gap: 0.9rem; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; background: transparent; color: var(--text); border: 0; padding: 0; font-weight: 600; text-align: left; }
.faq-answer { display: none; padding-top: 0.7rem; }
.faq-item.open .faq-answer { display: block; }

.contact-form { display: grid; gap: 0.9rem; }
.contact-grid { display: grid; gap: 1.2rem; grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.contact-copy { display: grid; gap: 1rem; }
label { display: grid; gap: 0.35rem; color: var(--muted); }
input, textarea, select { width: 100%; padding: 0.8rem 0.95rem; border-radius: 0.8rem; border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text); font: inherit; }
textarea { min-height: 8.5rem; resize: vertical; }
.form-message { margin: 0; min-height: 1.3rem; font-size: 0.95rem; }
.form-message--success { color: #0f7a3b; }
.form-message--error { color: #b42318; }
.steps-list { display: grid; gap: 0.8rem; padding-left: 1rem; margin: 0; }
.steps-list li { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); padding: 1.2rem 0 2rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.footer-links { display: flex; gap: 1rem; }

@media (max-width: 860px) {
  .hero__grid, .split-section, .contact-grid, .three-up, .two-up { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}

@media (max-width: 700px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(7,17,31,0.98);
    border: 1px solid var(--border);
    border-radius: 1rem;
  }
  .nav-links.open { display: flex; }
  .footer-wrap { flex-direction: column; }
}
