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

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

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

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 48px;
  height: 48px;
}

.brand strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  color: var(--dark-soft);
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  margin: 5px auto;
  transition: .2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, .20), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 78px);
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
}

h1, h2, h3 {
  color: var(--dark);
  line-height: 1.16;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  letter-spacing: -0.06em;
  max-width: 800px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  margin-top: 22px;
  max-width: 650px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111827;
  box-shadow: 0 18px 34px rgba(245, 158, 11, .30);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--line);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
  max-width: 610px;
}

.hero-stats div {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  padding: 18px;
}

.hero-stats strong {
  display: block;
  color: var(--dark);
  font-size: 1.35rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: .9rem;
}

.hero-card {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.card-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .30);
  filter: blur(45px);
}

.project-card {
  position: relative;
  width: min(430px, 100%);
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #cbd5e1;
  padding: 34px;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid rgba(245, 158, 11, .22);
}

.project-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.badge {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .14);
  color: #fcd34d;
  font-size: .82rem;
  font-weight: 800;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, .12);
}

.project-card h2 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.project-card p,
.project-card ul {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.project-card ul {
  list-style: none;
}

.project-card li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.project-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fcd34d;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 54px;
}

.section-text {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-text p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 14px;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.portfolio-card,
.contact-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-card {
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #fffbeb;
  font-size: 1.55rem;
  margin-bottom: 20px;
}

.service-card p,
.portfolio-card p {
  color: var(--muted);
  margin-top: 12px;
}

.advantages {
  background: linear-gradient(135deg, #0f172a, #111827);
}

.advantage-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  color: #cbd5e1;
}

.advantage-panel h2 {
  color: var(--white);
}

.advantage-panel > div:first-child p:last-child {
  margin-top: 18px;
  color: #cbd5e1;
}

.advantage-list {
  display: grid;
  gap: 18px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 22px;
  border-radius: 22px;
}

.advantage-item span {
  color: #fcd34d;
  font-weight: 900;
}

.advantage-item h3 {
  color: var(--white);
}

.advantage-item p {
  color: #cbd5e1;
  margin-top: 6px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  padding: 30px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,1)),
    radial-gradient(circle at top right, rgba(245,158,11,.22), transparent 45%);
}

.portfolio-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: auto;
  font-weight: 800;
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  background:
    radial-gradient(circle at top right, rgba(245,158,11,.34), transparent 38%),
    linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 34px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #111827;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: #111827;
}

.cta-box p {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(17, 24, 39, .80);
}

.cta-box .eyebrow {
  color: rgba(17, 24, 39, .80);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  transition: transform .2s ease, border-color .2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, .65);
}

.contact-card span {
  font-size: 1.35rem;
}

.contact-card strong {
  color: var(--dark);
}

.contact-card p {
  color: var(--muted);
  margin-top: 2px;
}

.contact-form {
  padding: 30px;
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--dark);
  outline: none;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.form-note {
  color: var(--muted);
  font-size: .86rem;
  margin-top: 14px;
}

.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: #fcd34d;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: #22c55e;
  color: var(--white);
  font-weight: 900;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(34, 197, 94, .34);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

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

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-grid,
  .two-column,
  .advantage-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-card {
    min-height: auto;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .navbar {
    width: min(100% - 24px, 1180px);
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: .92rem;
  }

  .brand small {
    font-size: .7rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .project-card {
    border-radius: 28px;
    padding: 26px;
  }

  .project-card-top {
    margin-bottom: 52px;
  }

  .project-card h2 {
    font-size: 1.65rem;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .advantage-item {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 28px;
    border-radius: 26px;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
  }

  .floating-wa {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}
