:root {
  --bg: #060607;
  --bg-soft: #101013;
  --card: #17171b;
  --text: #f6f3f3;
  --muted: #b9b0b0;
  --gold: #e63946;
  --gold-dark: #b91628;
  --line: rgba(230, 57, 70, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 80% -10%, rgba(230, 57, 70, 0.14), transparent 42%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(11, 11, 16, 0.75);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand span {
  color: var(--gold);
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a,
.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu a:hover,
.footer a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #ff5a66);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ff5a66, var(--gold));
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  margin-bottom: 10px;
  font-weight: 600;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}

.hero-content p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card,
.card,
.project,
.contact-box {
  background: linear-gradient(160deg, rgba(34, 18, 22, 0.86), rgba(20, 20, 24, 0.9));
  border: 1px solid var(--line);
  border-radius: 18px;
}

.hero-card {
  padding: 26px;
}

.card-title {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.hero-card li:last-child {
  border-bottom: 0;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  background: rgba(230, 57, 70, 0.2);
  right: -140px;
  bottom: -160px;
  z-index: -1;
}

.stats {
  padding: 22px 0 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stats-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: var(--bg-soft);
}

.stats-grid h3 {
  color: var(--gold);
  font-size: 1.5rem;
}

.stats-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.about,
.portfolio {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-grid p {
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.services {
  padding: 70px 0;
  background: linear-gradient(180deg, transparent, rgba(35, 10, 14, 0.75));
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  padding: 22px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.project p,
.contact p {
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project {
  padding: 22px;
}

.project-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.78rem;
}

.contact {
  padding: 40px 0 80px;
}

.contact-box {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-dark);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (max-width: 960px) {
  .menu {
    position: absolute;
    top: 58px;
    right: 4%;
    flex-direction: column;
    background: rgba(11, 11, 16, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 190px;
    padding: 14px;
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav > .btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }
}
