@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #0f0d0a;
  --text: #f6efe5;
  --muted: #b9ab95;
  --primary: #d6b474;
  --glow: 0 20px 80px rgba(216, 181, 106, 0.2);
  --radius: 22px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 180, 116, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 98, 53, 0.14), transparent 25%),
    radial-gradient(circle at bottom left, rgba(240, 223, 191, 0.08), transparent 30%),
    linear-gradient(180deg, #0b0907 0%, #15110d 45%, #0f0d0a 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes floatDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.66), rgba(8, 7, 6, 0.14));
  backdrop-filter: blur(18px);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(26, 21, 16, 0.9), rgba(15, 13, 10, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(1, 7, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.nav::before,
.hero-shell::before,
.section > .container::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.nav::before {
  inset: 0 auto 0 -12%;
  width: 180px;
  background: radial-gradient(circle, rgba(214, 180, 116, 0.16), transparent 70%);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  width: 228px;
  flex: 0 0 auto;
}

.brand-mark img {
  filter: drop-shadow(0 14px 30px rgba(216, 181, 106, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  position: relative;
  z-index: 1;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: 0.25s ease;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8f6235 0%, #d6b474 52%, #f0dfbf 100%);
  color: #1b140d;
  box-shadow: var(--glow);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after,
.hero-shell::after,
.section > .container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -90px;
  right: 8%;
  background: radial-gradient(circle, rgba(214, 180, 116, 0.22), transparent 68%);
}

.hero::after {
  width: 340px;
  height: 340px;
  bottom: -120px;
  left: 4%;
  background: radial-gradient(circle, rgba(240, 223, 191, 0.1), transparent 70%);
}

.hero-grid,
.grid-two,
.grid-three,
.split,
.services-grid,
.projects-grid,
.pricing-grid,
.why-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-three,
.services-grid,
.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid,
.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.split {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.hero-shell,
.section > .container {
  position: relative;
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(30, 22, 15, 0.96), rgba(14, 11, 8, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 90px rgba(10, 8, 6, 0.36);
  overflow: hidden;
  isolation: isolate;
}

.hero-shell::before,
.section > .container::before {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 180, 116, 0.16), transparent 68%);
  animation: glowPulse 9s ease-in-out infinite;
}

.hero-shell::after,
.section > .container::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -50px;
  background: radial-gradient(circle, rgba(240, 223, 191, 0.08), transparent 72%);
  animation: floatDrift 11s ease-in-out infinite;
}

.section {
  padding: 34px 0 54px;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.65;
}

.hero h1,
.section-title {
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin-bottom: 20px;
  font-weight: 800;
}

.section-title {
  font-size: clamp(30px, 5vw, 50px);
  margin-bottom: 16px;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #fff8ee 0%, #dfc18a 45%, #f0dfbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.lead,
.section-text,
.hero p,
.card p,
.list-card li,
.stat-card span,
.contact-list li,
.service-chip p,
.project-card p,
.portfolio-card p,
.price-card p,
.why-card p,
.feature-card p {
  color: var(--muted);
  font-size: 17px;
}

.hero p {
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-card,
.hero-panel,
.card,
.stat-card,
.list-card,
.contact-card,
.metric,
.service-chip,
.project-card,
.price-card,
.why-card,
.portfolio-card,
.feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 180, 116, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.card::before,
.stat-card::before,
.list-card::before,
.contact-card::before,
.service-chip::before,
.project-card::before,
.price-card::before,
.why-card::before,
.portfolio-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 65%);
}

.card h3,
.stat-card strong,
.list-card h3,
.contact-card h3,
.hero-panel h3,
.service-chip h3,
.project-card h3,
.portfolio-card h3,
.price-card h3,
.why-card h3,
.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.stat-stack,
.feature-stack,
.list-card ul,
.contact-list,
.price-features {
  display: grid;
  gap: 12px;
}

.list-card ul,
.contact-list {
  list-style: none;
  margin-top: 14px;
}

.list-card li,
.contact-list li {
  padding-left: 18px;
  position: relative;
}

.list-card li::before,
.contact-list li::before,
.price-features span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8f6235, #d6b474 62%, #f0dfbf);
  box-shadow: 0 0 0 4px rgba(214, 180, 116, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-visual {
  position: relative;
  padding: 26px 0;
  perspective: 1600px;
}

.hero-card {
  padding: 30px;
  border-radius: 32px;
  box-shadow: 0 34px 120px rgba(10, 8, 6, 0.55), 0 18px 48px rgba(216, 181, 106, 0.12);
  transform: perspective(1400px) rotateY(-15deg) rotateX(7deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(214, 180, 116, 0.14), rgba(143, 98, 53, 0.08) 55%, rgba(240, 223, 191, 0.08));
}

.hero-float {
  position: absolute;
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(22, 18, 14, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(4, 10, 20, 0.48);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.hero-float strong {
  display: block;
  font-size: 17px;
}

.hero-float span {
  color: var(--muted);
  font-size: 13px;
}

.hero-float-top {
  top: 0;
  right: -14px;
  transform: translateZ(80px) rotate(7deg);
  animation: floatDrift 7.5s ease-in-out infinite;
}

.hero-float-bottom {
  bottom: 6px;
  left: -26px;
  transform: translateZ(110px) rotate(-8deg);
  animation: floatDrift 9s ease-in-out infinite 0.8s;
}

.dashboard,
.dash-grid {
  display: grid;
  gap: 16px;
}

.dash-top,
.pricing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mini-pill,
.portfolio-status,
.portfolio-meta,
.price-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  font-size: 24px;
}

.services-grid,
.projects-grid {
  margin-top: 40px;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(214, 180, 116, 0.22), rgba(143, 98, 53, 0.18), rgba(240, 223, 191, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-shell {
  margin-top: 42px;
  position: relative;
  padding: 30px 0 12px;
}

.portfolio-caption {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.portfolio-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc(50% - 190px);
  padding: 18px calc(50% - 190px) 34px;
  scrollbar-width: none;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-card {
  min-width: min(380px, 78vw);
  max-width: min(380px, 78vw);
  scroll-snap-align: center;
  opacity: 0.42;
  transform: scale(0.9) translateY(18px);
  transition: 0.35s ease;
}

.portfolio-card.is-near {
  opacity: 0.72;
  transform: scale(0.95) translateY(8px);
}

.portfolio-card.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  border-color: rgba(216, 181, 106, 0.34);
}

.pricing-note {
  max-width: 360px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(214, 180, 116, 0.14);
  color: var(--muted);
  font-size: 14px;
}

.pricing-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.price-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.price-features {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.price-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 18px;
}

.price-features span::before {
  position: absolute;
}

.portfolio-card strong {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text);
}

.service-chip:hover,
.project-card:hover,
.portfolio-card:hover,
.price-card:hover,
.why-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 50px rgba(2, 8, 18, 0.3);
}

.cta {
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(214, 180, 116, 0.18), rgba(143, 98, 53, 0.12), rgba(240, 223, 191, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(214, 180, 116, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
}

.cta h3 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: rgba(214, 180, 116, 0.14);
  border-color: rgba(214, 180, 116, 0.28);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.985);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: revealIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-two,
  .grid-three,
  .split,
  .services-grid,
  .projects-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: static;
    padding-top: 12px;
  }

  .nav {
    height: auto;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .nav::before {
    display: none;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .brand-mark {
    width: 148px;
  }

  .brand-mark img {
    filter: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .nav-links {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: max-height 0.28s ease, opacity 0.2s ease, margin-top 0.28s ease, padding 0.28s ease;
  }

  .nav-links a,
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    padding: 10px 14px;
  }

  .nav-cta {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding-top 0.28s ease;
  }

  .nav.is-open .nav-links,
  .nav.is-open .nav-cta {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav.is-open .nav-links {
    margin-top: 4px;
    padding: 8px;
  }

  .nav.is-open .nav-cta {
    padding-top: 8px;
  }

  .nav.is-open .nav-toggle-lines {
    background: transparent;
  }

  .nav.is-open .nav-toggle-lines::before {
    transform: translateY(0) rotate(45deg);
  }

  .nav.is-open .nav-toggle-lines::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .nav.is-open .nav-toggle {
    transform: rotate(90deg);
  }

  .hero,
  .section {
    padding: 34px 0;
  }

  .hero-shell,
  .section > .container {
    padding: 28px 22px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

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

  .hero-visual {
    padding: 0;
  }

  .hero-float {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
    animation: none;
  }

  .dash-grid,
  .services-grid,
  .projects-grid,
  .pricing-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-track {
    gap: 16px;
    scroll-padding-inline: 18px;
    padding: 16px 0 20px;
  }

  .portfolio-card {
    min-width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    opacity: 0.8;
    transform: none;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
