/* Mobile-first, polished theme */
/* Palette & variables */
:root {
  --bg: #fff8f0;
  --card: #ffffff;
  --brand: #E65100;
  --brand-2: #FF6F00;
  --brand-light: #FFE0B2;
  --accent: #FFB74D;
  --text: #0f172a;
  --muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.06);
  --shadow: 0 16px 48px rgba(230, 81, 0, 0.12);
  --radius: 14px;
  --max: 1100px;
}

/* reset */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(6, 12, 10, 0.04)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 12px
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  fill: var(--brand)
}

.brand-texts {
  display: flex;
  flex-direction: column;
  line-height: 1
}

.brand-title {
  font-weight: 800;
  color: var(--brand)
}

.brand-sub {
  font-size: 12px;
  color: var(--muted)
}

.nav {
  display: none;
  gap: 8px
}

.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--text)
}

.nav-link:hover {
  color: var(--brand-2)
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  min-height: 44px;
  font-size: 15px
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 10px 30px rgba(230, 81, 0, 0.25);
  transition: transform .2s, box-shadow .2s
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(230, 81, 0, 0.35)
}

.btn-outline {
  border: 2px solid rgba(230, 81, 0, 0.15);
  padding: 8px 12px;
  transition: all .2s
}

.btn-outline:hover {
  border-color: var(--brand-2);
  background: rgba(255, 111, 0, 0.05)
}

.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.hb {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .28s, opacity .18s
}

.hb.mid {
  margin: 5px 0
}

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 160;
  visibility: hidden;
  transition: visibility 0s linear 0.28s;
}

.drawer-inner {
  width: 86%;
  max-width: 380px;
  height: 100vh;
  background: var(--card);
  box-shadow: -36px 0 60px rgba(8, 12, 10, 0.12);
  padding: 18px;
  pointer-events: auto;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2, .9, .2, 1);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px
}

.drawer.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer.open .drawer-inner {
  transform: translateX(0)
}

.drawer-close {
  font-size: 30px;
  border: 0;
  background: transparent;
  cursor: pointer
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px
}

.drawer-link {
  padding: 12px;
  border-radius: 10px;
  font-weight: 700
}

.drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px
}

/* backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.46);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s
}

.backdrop.visible {
  opacity: 1;
  pointer-events: auto
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  overflow: hidden
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease, transform 12s linear;
  will-change: opacity, transform;
  filter: contrast(1.02) saturate(1.05) brightness(0.9)
}

.hero-img.active {
  opacity: 1;
  transform: scale(1)
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 8, 0.18), rgba(6, 12, 8, 0.32));
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  padding: 18px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  width: 100%
}

.hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 12px 36px rgba(4, 10, 6, 0.5)
}

.hero-sub {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  margin: 0 0 12px
}

.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap
}

.btn.large {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  min-height: 48px
}

.hero-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap
}

.stat {
  color: #fff;
  text-align: center
}

.stat-num {
  font-weight: 900;
  font-size: 20px;
  color: var(--accent)
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9)
}

.hero-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 14px
}

.dots {
  display: flex;
  gap: 8px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 0
}

.dot.active {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4)
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none
}

.chev {
  width: 18px;
  height: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-45deg);
  display: block;
  margin-bottom: 6px
}

/* WORK */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px
}

.work {
  padding: 32px 0
}

.title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2
}

.grid-work {
  display: grid;
  gap: 16px
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 12, 10, 0.06);
  display: flex;
  flex-direction: column;
  border: 3px solid transparent;
  transition: border .3s ease
}

.thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform .7s
}

.card:hover .thumb {
  transform: scale(1.04) translateY(-6px)
}

.card:hover {
  border: 3px solid #FF6F00;
}

.card-body {
  padding: 12px
}

.work-large {
  order: 0
}

/* WHY */
.why {
  padding: 28px 0;
  background: linear-gradient(180deg, #fff, #fff8f0)
}

.why-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr
}

.why-card {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(8, 12, 10, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .28s, border .3s ease;
  border: 3px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  border: 3px solid #FF6F00;
}

.icon {
  font-size: 26px
}

/* TESTIMONIALS */
.testimonials {
  padding: 28px 0
}

.test-wrap {
  display: flex;
  align-items: center;
  gap: 8px
}

.tbtn {
  background: transparent;
  border: 0;
  font-size: 22px;
  padding: 8px
}

.test-view {
  flex: 1;
  overflow: hidden
}

.test-slide {
  display: none;
  padding: 16px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(8, 12, 10, 0.06)
}

.test-slide.active {
  display: block
}

.test-slide p {
  margin: 0 0 8px;
  font-weight: 600
}

.test-slide footer {
  font-size: 13px;
  color: var(--muted)
}

/* FOOTER */
.footer {
  background: #07121a;
  color: #fff;
  padding: 28px 0;
  margin-top: 24px
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr
}

.brand-lg {
  font-weight: 800;
  color: var(--accent);
  font-size: 18px
}

.muted {
  color: rgba(255, 255, 255, 0.8)
}

.subscribe {
  display: flex;
  gap: 8px;
  margin-top: 12px
}

.subscribe input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 0
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 12px
}

.f-links a {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 16px;
  padding-top: 12px
}

.fb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

/* small helpers */
.full {
  width: 100%
}

.topbtn {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  padding: 10px
}

/* RESPONSIVE LAYOUTS */
/* Small phones optimization */
@media(max-width:479px) {
  img {
    height: auto;
  }

  .hero-title {
    font-size: 22px
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%
  }

  .hero-ctas .btn {
    width: 100%
  }

  .hero-stats {
    gap: 10px
  }

  .stat-num {
    font-size: 18px
  }

  .card-body h3 {
    font-size: 16px
  }

  .why-card {
    padding: 12px
  }
}

/* Larger phones */
@media(min-width:480px) {
  .container {
    padding: 0 20px
  }

  .hero-title {
    font-size: 24px
  }

  .title {
    font-size: 24px
  }

  .btn {
    padding: 12px 24px
  }

  .work {
    padding: 36px 0
  }

  .grid-work {
    gap: 14px
  }

  .why-grid {
    gap: 16px
  }
}

/* Tablets and up */
@media(min-width:720px) {
  .nav {
    display: flex
  }

  .hamburger {
    display: none
  }

  .drawer {
    display: none
  }

  .drawer-inner {
    display: none
  }

  .hero-title {
    font-size: 28px
  }

  .hero-card {
    max-width: 900px;
    padding: 28px;
    border-radius: 16px
  }

  .grid-work {
    grid-template-columns: 1fr 420px;
    align-items: start
  }

  .why-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 220px 220px
  }
}

@media(min-width:1100px) {
  .hero {
    min-height: 100vh;
    padding: 80px 0
  }

  .hero-title {
    font-size: 40px
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}