/* ============================================
   THEME VARIABLES — Customize these for each site
   ============================================ */
:root {
  --primary: #1b6cf0;
  --bg: #f6f7fb;
  --text: #0b0f19;
  --muted: #5a6472;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(12, 26, 60, 0.12);
  --radius: 18px;
  --font-heading: "Playfair Display", serif;
  --font-body: "Manrope", sans-serif;
}

/* ============================================
   RESET & BASE — Do NOT modify
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at top, var(--card) 0%, var(--bg) 60%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

/* ============================================
   LAYOUT — Do NOT modify
   ============================================ */
.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* ============================================
   HEADER & NAV — Do NOT modify
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-mark { color: var(--primary); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 4%;
    background: var(--card);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
    display: none;
    min-width: 180px;
  }

  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}

/* ============================================
   BUTTONS — Do NOT modify
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(27, 108, 240, 0.3);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ABOUT
   ============================================ */
.about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ============================================
   SERVICES / FEATURES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.service-card:hover { transform: translateY(-4px); }

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 { margin-bottom: 0.5rem; }

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  text-align: center;
}

.contact-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-item {
  background: var(--card);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 200px;
}

.contact-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-item .value {
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   FOOTER — Do NOT modify
   ============================================ */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p + p {
  margin-top: 0.25rem;
}

/* ============================================
   RESPONSIVE — Do NOT modify
   ============================================ */
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn { width: 100%; }

  section { padding: 3.5rem 0; }
}
