/* ============================================================
   Evan Kirschenmann IT Support — stylesheet
   Brand system: dominant deep purple (from logo) + sharp amber
   accent, on a warm off-white base. Distinctive type pairing:
   Bricolage Grotesque (headings) / Hanken Grotesk (body).
   ============================================================ */

:root {
  /* Brand palette */
  --ink:        #241f2b;   /* primary text */
  --ink-soft:   #5b5466;   /* secondary text */
  --purple-900: #2c1f44;   /* darkest — headings */
  --purple-700: #44355b;   /* brand purple (matches logo) */
  --purple-500: #6b46c1;   /* vivid — links, CTAs */
  --amber:      #e8a33d;   /* the single sharp accent */
  --paper:      #fbf9f6;   /* warm off-white base */
  --surface:    #ffffff;
  --lav:        #f3eef9;   /* subtle lavender tint */
  --line:       #ece7f2;   /* hairline borders */

  /* Effects */
  --grad-purple: linear-gradient(135deg, #6b46c1 0%, #44355b 100%);
  --shadow-sm: 0 2px 10px rgba(44, 31, 68, 0.06);
  --shadow-md: 0 12px 30px rgba(44, 31, 68, 0.10);
  --shadow-lg: 0 22px 50px rgba(44, 31, 68, 0.16);
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1120px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--purple-900);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

a { color: var(--purple-500); }

/* ---------- Navigation (sticky) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.5rem;
  background: rgba(251, 249, 246, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; display: block; }

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

.nav-links a {
  position: relative;
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.25rem 0;
  transition: color 0.18s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.22s var(--ease);
}

.nav-links a:hover { color: var(--purple-500); }
.nav-links a:hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--grad-purple);
  color: #ffffff;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(107, 70, 193, 0.28);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(107, 70, 193, 0.38);
  color: #ffffff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 5.5rem 1.5rem 4.25rem;
  overflow: hidden;
  background:
    radial-gradient(58% 80% at 50% -12%, rgba(107, 70, 193, 0.11), transparent 70%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(68, 53, 91, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(72% 70% at 50% 28%, #000, transparent 78%);
  mask-image: radial-gradient(72% 70% at 50% 28%, #000, transparent 78%);
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  animation: rise 0.7s var(--ease) both;
}

.hero p {
  max-width: 660px;
  margin: 0 auto 1.75rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  animation: rise 0.7s var(--ease) 0.12s both;
}

.hero .btn { animation: rise 0.7s var(--ease) 0.24s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Section shell ---------- */
section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.25rem 1.5rem;
}

section > h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-bottom: 1.5rem;
}

section > h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--amber);
  margin-top: 0.75rem;
}

h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  padding: 1.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card.primary {
  border-top: 4px solid var(--purple-500);
}

.service-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.service-card ul { margin-left: 1.15rem; }
.service-card li { margin-bottom: 0.35rem; }
.service-card li::marker { color: var(--amber); }

/* ---------- Why section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.why-text h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.why-text h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--amber);
  margin-top: 0.75rem;
}

.why-text ul { margin-left: 1.15rem; }
.why-text li { margin-bottom: 0.5rem; }
.why-text li::marker { color: var(--amber); }

.portfolio-link { margin-top: 1.1rem; }
.portfolio-link a { color: var(--purple-500); font-weight: 600; text-decoration: none; }
.portfolio-link a:hover { text-decoration: underline; }

.why-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.why-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.why-photo::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.22), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* ---------- Info / where & when ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.availability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.availability-grid > div {
  background: var(--lav);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: var(--purple-700);
  font-weight: 600;
}

/* ---------- Pricing ---------- */
.pricing {
  max-width: none;
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(232, 163, 61, 0.08), transparent 60%),
    var(--lav);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing > h2,
.pricing > .pricing-grid { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 0.5rem;
}

.pricing-grid > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.pricing-grid h3 { font-size: 1.2rem; }
.pricing-grid strong { color: var(--purple-700); font-size: 1.15rem; }
.pricing-grid p { color: var(--ink-soft); }
.pricing-grid p:first-of-type { color: var(--ink); margin: 0.4rem 0 0.25rem; }

/* ---------- Steps (How It Works) ---------- */
.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.65rem;
  background: var(--grad-purple);
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(107, 70, 193, 0.32);
}

.step-icon {
  display: block;
  margin: 0 auto 0.65rem;
  color: var(--purple-500);
  margin-top: 5px;
}

.step-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto;
}

.step-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact > h2 { display: inline-block; }
.contact > h2::after { margin-left: auto; margin-right: auto; }

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.75rem;
}

.contact-card p { color: var(--ink-soft); margin-bottom: 0.6rem; }
.contact-line strong { color: var(--ink); font-weight: 600; }

.contact-phone,
.contact-email {
  color: var(--purple-500);
  font-weight: 600;
  text-decoration: none;
}

.contact-phone:hover,
.contact-email:hover { color: var(--amber); }

.contact-card .btn { margin-top: 1rem; }

/* ---------- Form section ---------- */
.form-section { text-align: center; }
.form-section > h2 { display: inline-block; }
.form-section > h2::after { margin-left: auto; margin-right: auto; }

.form-container {
  max-width: 840px;
  margin: 1.5rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-container iframe { display: block; width: 100%; border: 0; }

/* ---------- Privacy page ---------- */
.privacy { max-width: 760px; }
.privacy h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 1.25rem; }
.privacy p { margin-bottom: 1rem; color: var(--ink); }
.privacy a { color: var(--purple-500); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 2rem;
}

.footer a { color: var(--purple-500); text-decoration: none; margin-left: 0.5rem; }
.footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid,
  .info-grid,
  .pricing-grid,
  .availability-grid,
  .why-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .why-photo { margin-top: 1.5rem; }
  .why-photo img { max-width: 260px; }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
  }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .nav-links a { margin: 0 0.7rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  section { padding: 2.5rem 1.25rem; }
}
