* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

:root {
  --bg-current: #F4845F;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--bg-current);
  transition: background-color 650ms var(--ease);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.4;
  background-size: 200px 200px;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

.ghost-text {
  position: absolute;
  inset-inline: 0;
  top: 16%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  font-family: 'Anton', sans-serif;
  font-size: clamp(64px, 26vw, 380px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity 300ms var(--ease);
}

.brand-label {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: 16px;
  z-index: 60;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  letter-spacing: 0.18em;
}

.carousel { position: absolute; inset: 0; z-index: 3; }

.carousel-item {
  position: absolute;
  aspect-ratio: 0.6 / 1;
  transition: transform 650ms var(--ease), filter 650ms var(--ease), opacity 650ms var(--ease), left 650ms var(--ease), bottom 650ms var(--ease), height 650ms var(--ease);
  will-change: transform, filter, opacity;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* roles set via JS inline styles for left/bottom/height/transform/filter/opacity/zIndex */

.hero-copy {
  position: absolute;
  z-index: 60;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 16px;
  max-width: 260px;
}
.hero-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.95;
  font-size: 16px;
  margin-bottom: 8px;
}
.hero-desc {
  display: none;
  color: #fff;
  opacity: 0.85;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.nav-buttons { display: flex; gap: 10px; }
.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms, background-color 150ms;
}
.nav-btn:hover { transform: scale(1.08); background-color: rgba(255,255,255,0.12); }
.nav-btn i { width: 22px; height: 22px; stroke-width: 2.25; }

.discover-link {
  position: absolute;
  z-index: 60;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  opacity: 0.95;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 4.2vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: opacity 200ms;
}
.discover-link:hover { opacity: 1; }
.discover-link i { width: 18px; height: 18px; stroke-width: 2.25; }

/* ---------- PORTFOLIO ---------- */
.portfolio { width: 100%; background: #fff; padding: 56px 16px; }
.portfolio-gallery { width: 100%; background: #fff; padding: 56px 16px; }
.portfolio-inner { max-width: 1100px; margin: 0 auto; }
.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #F4845F;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 6vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #0A0A0F;
  line-height: 1.05;
}
.portfolio-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #0A0A0F;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.portfolio-card {
  border-radius: 16px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.portfolio-card img { width: 100%; height: 85%; object-fit: contain; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #0A0A0F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon i { width: 20px; height: 20px; }
.service-title { font-weight: 700; font-size: 16px; color: #0A0A0F; margin-bottom: 8px; }
.service-desc { font-size: 13px; color: #6b6b6b; line-height: 1.5; }

/* ---------- PRICING ---------- */
.pricing { background: #6EB5FF; padding: 56px 16px; }
.pricing-inner { max-width: 900px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.price-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.plan-name { font-weight: 700; font-size: 17px; color: #0A0A0F; margin-bottom: 8px; }
.plan-desc { font-size: 13px; color: #6b6b6b; line-height: 1.5; margin-bottom: 18px; }

.price-box {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: #0A0A0F;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.price-old {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-new {
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.price-box-quote { background: #F4845F; }
.price-quote {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 0 8px;
}

.plan-features { list-style: none; margin-bottom: 20px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}
.plan-features li i { width: 15px; height: 15px; color: #0A0A0F; flex-shrink: 0; }

.book-square-btn {
  width: 100%;
  height: 52px;
  border-radius: 6px;
  background: #0A0A0F;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 120ms, background-color 120ms;
}
.book-square-btn:hover { background: #1c1c22; transform: scale(0.99); }

/* ---------- TRUST ---------- */
.trust {
  background: #0A0A0F;
  padding: 44px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-item { text-align: center; padding: 0 12px; }
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #fff;
}
.trust-icon i { width: 20px; height: 20px; }
.trust-title { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 8px; }
.trust-desc { color: rgba(255,255,255,0.6); font-size: 13px; max-width: 220px; margin: 0 auto; }

/* ---------- TESTIMONIAL ---------- */
.testimonial { background: #fff; padding: 56px 20px; text-align: center; max-width: 640px; margin: 0 auto; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; color: #F4845F; }
.stars i { width: 16px; height: 16px; fill: #F4845F; }
.quote { font-size: 17px; font-weight: 500; color: #0A0A0F; line-height: 1.55; margin-bottom: 18px; }
.quote-author { font-size: 12px; color: #6b6b6b; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- CTA ---------- */
.cta { background: #F4845F; padding: 56px 20px; text-align: center; }
.cta-title { font-family: 'Anton', sans-serif; font-size: clamp(26px, 7vw, 56px); color: #fff; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 14px; }
.cta-desc { color: rgba(255,255,255,0.9); max-width: 380px; margin: 0 auto 26px; font-size: 14px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A0A0F;
  color: #fff;
  padding: 16px 30px;
  border-radius: 6px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 120ms, transform 120ms;
}
.cta-btn:hover { background: #1c1c22; transform: scale(0.99); }
.cta-btn i { width: 16px; height: 16px; }

/* ---------- FOOTER ---------- */
.footer {
  background: #0A0A0F;
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-brand { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 11px; }

/* ---------- WHATSAPP FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom));
  right: 18px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  text-decoration: none;
}
.wa-fab i { width: 24px; height: 24px; color: #fff; }

/* ---------- DESKTOP / TABLET UP ---------- */
@media (min-width: 640px) {
  .brand-label { left: 32px; }
  .hero-copy { left: 96px; bottom: 80px; max-width: 320px; }
  .hero-title { font-size: 22px; }
  .hero-desc { display: block; }
  .nav-btn { width: 64px; height: 64px; }
  .nav-btn i { width: 26px; height: 26px; }
  .discover-link { right: 40px; bottom: 80px; }
  .discover-link i { width: 32px; height: 32px; }

  .portfolio { padding: 96px 40px; }
  .portfolio-gallery { padding: 96px 40px; }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .pricing { padding: 96px 40px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .price-box { width: 140px; height: 140px; }

  .trust { grid-template-columns: repeat(3, 1fr); padding: 56px 40px; }

  .testimonial { padding: 96px 20px; }

  .cta { padding: 96px 20px; }

  .footer { flex-direction: row; justify-content: space-between; padding: 40px; }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 380px) {
  .hero-copy { max-width: 200px; }
  .nav-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item, .hero, .discover-link, .nav-btn { transition: none !important; }
}
