@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Turret+Road:wght@500;700&display=swap');

:root {
  --skin-color: hsl(342, 92%, 46%);
  --bg: hsl(242, 19%, 5%);
  --bg-soft: hsl(242, 14%, 9%);
  --card: hsl(242, 14%, 10%);
  --line: hsl(242, 12%, 18%);
  --text: hsl(242, 8%, 95%);
  --muted: hsl(242, 8%, 80%);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 95% 4%, rgba(230, 24, 86, 0.14), transparent 28%),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--bg);
}

h1, h2, h3 {
  color: var(--text);
  margin-top: 0;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; margin-bottom: 14px; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 14px; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(860px, 92%); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 17, 0.92);
  backdrop-filter: blur(9px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.24rem;
  font-family: 'Turret Road', sans-serif;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--skin-color);
  color: #fff;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 11px;
  border-radius: 999px;
  font-weight: 500;
  transition: 0.2s;
}

.nav a:hover {
  color: var(--skin-color);
}

.hero { padding: 72px 0 36px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.tag {
  margin: 0;
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(230, 24, 86, 0.14);
  color: var(--skin-color);
  font-size: 0.8rem;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1rem;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--skin-color);
  color: #fff;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scale(0);
  transform-origin: center;
  transition: 0.24s;
  background: #2f3742;
}

.btn:hover::after {
  transform: scale(1);
}

.btn-small {
  padding: 8px 12px;
}

.btn-ghost {
  background: #1d2430;
  border: 1px solid var(--line);
}

.glass,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.glass ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.section { padding: 42px 0 66px; }

.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards { margin-top: 16px; display: grid; gap: 14px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 24, 86, 0.6);
}

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.muted { color: var(--muted); }

.table-wrap {
  margin: 16px 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card);
  overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; }

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

th {
  background: #151923;
  color: var(--text);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.gallery-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work { min-height: 170px; }

.featured-work {
  grid-column: span 2;
}

.work-link {
  color: inherit;
  text-decoration: none;
  display: grid;
  gap: 12px;
}

.work-preview {
  width: 100%;
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f141f;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
}

.form { display: grid; gap: 10px; }

input, textarea, select {
  width: 100%;
  border: 2px solid var(--muted);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: transparent;
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--skin-color);
  box-shadow: 0 0 0 3px rgba(230, 24, 86, 0.15);
}

label { color: var(--text); font-size: 0.9rem; }

a { color: var(--skin-color); }

.float-wa,
.float-msg {
  position: fixed;
  right: 14px;
  z-index: 30;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.float-wa { bottom: 16px; background: #1f8f56; }
.float-msg { bottom: 64px; background: var(--skin-color); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .cards.three,
  .cards.two,
  .gallery-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .topbar { position: static; }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-work {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 6px;
  }

  .nav.is-open { display: grid; }

  .nav a {
    border: 1px solid var(--line);
    background: #171c26;
    text-align: center;
    border-radius: 10px;
  }

  .hero { padding: 34px 0 18px; }
  .section { padding: 28px 0 48px; }

  .actions .btn,
  .callout .btn {
    width: 100%;
  }

  .float-msg { bottom: 62px; }
}
