/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}

.hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Title */
.hero-title {
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.05;
}

.hero-title--logo {
  font-family: "Permanent Marker", system-ui, sans-serif;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow:
    0 2px 30px rgba(0,0,0,0.60),
    0 0 80px rgba(216,31,38,0.20);
}

/* Tagline */
.hero-tagline {
  color: rgba(255,255,255,0.80);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.hero-btn--primary {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 8px 24px rgba(216,31,38,0.35);
}

.hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(216,31,38,0.45);
  background: #c01920;
  border-color: #c01920;
}

.hero-btn--ghost {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.30);
}

.hero-btn--ghost:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll__bar {
  width: 1.5px;
  height: 42px;
  background: rgba(255,255,255,0.20);
  border-radius: 999px;
  overflow: hidden;
}

.hero-scroll__fill {
  width: 100%;
  height: 50%;
  background: var(--red);
  border-radius: 999px;
  animation: scrollBar 1.8s ease-in-out infinite;
}

@keyframes scrollBar {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 24px;
}

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.stat-num {
  font-family: var(--font-title);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex: 0 0 auto;
}

/* ===========================
   SECTION HEADER (shared)
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-badge::before,
.section-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--red);
  opacity: 0.45;
}

.section-badge::before { right: 100%; margin-right: -18px; }
.section-badge::after  { left: 100%;  margin-left: -18px; }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
  padding: 88px 0;
}

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

.service-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  background: var(--bg);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,31,38,0.30);
  box-shadow: 0 20px 50px rgba(216,31,38,0.08), 0 4px 16px rgba(0,0,0,0.06);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--red-weak);
  border: 1px solid var(--red-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
}

.service-name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.service-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 280px;
  margin: 0 auto;
}

.service-rate {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(216,31,38,0.30);
  border-radius: 999px;
  padding: 5px 14px;
  margin-top: 4px;
}

/* ===========================
   PREVIEW / FEATURED WORK
   =========================== */
.preview-section {
  padding: 88px 0;
  background: var(--soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 560px;
}

.preview-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}

.preview-card:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

.preview-card--tall {
  grid-row: 1 / 3;
}

.preview-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.30),
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.55)
  );
}

.preview-card__logo {
  position: relative;
  z-index: 1;
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  object-fit: contain;
}

.preview-card__name {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  justify-self: flex-start;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
}

.preview-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid var(--text);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-outline:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(216,31,38,0.30);
}

/* ===========================
   CONTACT FORM
   =========================== */
.contact-section {
  padding: 70px 0 20px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  padding: 36px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}

.contact-head {
  text-align: center;
  margin-bottom: 28px;
}

.contact-title {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.form-alert {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 18px;
  font-size: 14px;
}

.form-alert--success { background: rgba(11,11,11,0.04); }
.form-alert--error   { background: rgba(216,31,38,0.06); border-color: rgba(216,31,38,0.18); }

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(216,31,38,0.45);
  box-shadow: 0 0 0 4px rgba(216,31,38,0.08);
}

.form-btn {
  justify-self: center;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  padding: 13px 36px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(216,31,38,0.35);
  background: #c01920;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grid */
.services-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.stats-grid .stat-item:nth-child(1) { transition-delay: 0.00s; }
.stats-grid .stat-item:nth-child(2) { transition-delay: 0.10s; }
.stats-grid .stat-item:nth-child(3) { transition-delay: 0.20s; }
.stats-grid .stat-item:nth-child(4) { transition-delay: 0.30s; }

.preview-grid .reveal:nth-child(1) { transition-delay: 0.00s; }
.preview-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.preview-grid .reveal:nth-child(3) { transition-delay: 0.20s; }
.preview-grid .reveal:nth-child(4) { transition-delay: 0.30s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px;
    height: auto;
  }

  .preview-card--tall {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .stats-grid {
    flex-wrap: wrap;
    gap: 32px;
  }

  .stat-divider { display: none; }

  .stat-item {
    flex: 0 0 calc(50% - 16px);
  }

  .preview-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
    height: auto;
  }

  .contact-card { padding: 22px; }

  .form-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: center; }

  .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
}
