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

:root {
  --red:       #c0392b;
  --red-light: #e74c3c;
  --red-dark:  #922b21;
  --red-glow:  rgba(192, 57, 43, 0.35);
  --bg:        #0d0d0d;
  --card:      #161616;
  --border:    rgba(255,255,255,0.07);
  --text:      #f0f0f0;
  --muted:     #888;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 64px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-size: 18px; font-weight: 800; letter-spacing: -.5px;
  text-decoration: none; color: var(--text);
}
.nav-brand em { color: var(--red-light); font-style: normal; }
.btn-back {
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color .2s;
}
.btn-back:hover { color: var(--text); }

/* ── HERO ── */
.contact-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(192,57,43,.18) 0%, transparent 70%);
  pointer-events: none;
}
.tag {
  display: inline-block;
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.35);
  color: #f1948a;
  padding: 6px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.contact-hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.08;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub {
  font-size: 17px; color: var(--muted); max-width: 500px;
  margin: 0 auto; line-height: 1.7;
}

/* ── CONTACT SECTION ── */
.contact-section {
  flex: 1;
  padding: 60px 64px 100px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ccard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .3s, transform .3s;
  animation: up .6s both;
}
.ccard:nth-child(1) { animation-delay: .1s; }
.ccard:nth-child(2) { animation-delay: .2s; }
.ccard:nth-child(3) { animation-delay: .3s; }
.ccard:hover { border-color: rgba(192,57,43,.45); transform: translateY(-4px); }
.cicon { display: flex; }
.cicon svg { width: 32px; height: 32px; color: var(--red-light); }
.ccard h3 { font-size: 18px; font-weight: 700; }
.ccard p  { font-size: 14px; color: var(--muted); line-height: 1.65; }
.contact-link {
  color: var(--red-light); font-size: 14px; font-weight: 600;
  text-decoration: none; margin-top: auto;
  transition: color .2s;
}
.contact-link:hover { color: var(--red); }
.btn-start {
  display: inline-block; margin-top: auto;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff; padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 24px var(--red-glow);
  transition: transform .2s, box-shadow .2s;
  width: fit-content;
}
.btn-start:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--red-glow); }

/* ── FOOTER ── */
footer {
  padding: 28px 64px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.ft-brand { font-size: 15px; font-weight: 800; }
.ft-brand em { color: var(--red-light); font-style: normal; }
.ft-copy { font-size: 12px; color: var(--muted); }

@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .contact-hero { padding: 120px 20px 60px; }
  .contact-section { padding: 40px 20px 70px; }
  footer { padding: 24px 20px; flex-direction: column; text-align: center; }
}
