:root {
  --primary: #ee3322;
  --primary-hover: #d92b1b;
  --text: #161616;
  --text-soft: #555555;
  --text-muted: #717171;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-card: #fcfcfc;
  --border: #e9e9e9;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.09);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

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

.section {
  padding: 110px 0;
}

.center {
  text-align: center;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-head h2,
.feature-content h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head p,
.feature-content p,
.cta-copy p {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(238, 51, 34, 0.18);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-large {
  min-height: 56px;
  padding: 0 28px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.76) 0%,
      rgba(0, 0, 0, 0.56) 40%,
      rgba(0, 0, 0, 0.22) 100%
    ),
    url("../assets/services/concrete-main.jpeg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(238, 51, 34, 0.18),
      transparent 26%
    ),
    linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px 0 90px;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hero-title {
  margin: 0;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 12px 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* OVERVIEW */
.overview {
  background: var(--bg-soft);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.overview-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #dddddd;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(238, 51, 34, 0.08);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
}

.overview-card h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
}

.overview-card p {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.96rem;
}

/* FEATURE BLOCK */
.feature-block {
  background: var(--bg-soft);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.feature-content,
.feature-media {
  min-width: 0;
}

.feature-content {
  max-width: 100%;
}

.feature-content h2 {
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}

.feature-content > p {
  margin: 22px 0 0;
  max-width: 58ch;
}

.feature-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.feature-item span {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.feature-item p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* GALLERY */
.gallery {
  background: var(--bg-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 22px;
  cursor: pointer;
  background: #eaeaea;
  box-shadow: var(--shadow-sm);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.35s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.02);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-badge,
.play-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

/* CTA */
.cta {
  background: #111111;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.light {
  color: #ff8b81;
}

.cta-copy h2,
.cta-copy p {
  color: #ffffff;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.8);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.show {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 20px;
  object-fit: contain;
  background: #111;
}

#lightboxVideo {
  display: none;
  width: 100%;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* REVEAL INITIAL STATE */
.reveal,
.reveal-card,
.reveal-left,
.reveal-right,
.reveal-gallery,
.reveal-up,
.reveal-group {
  opacity: 0;
  transform: translateY(24px);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: inherit;
  pointer-events: none;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .feature-layout {
    gap: 30px;
    align-items: start;
  }

  .feature-content {
    order: 1;
  }

  .feature-media {
    order: 2;
  }

  .feature-content h2 {
    max-width: 100%;
  }

  .feature-content > p {
    max-width: 100%;
  }

  .feature-media img {
    height: 440px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 88px 0;
  }

  .hero-inner {
    padding: 130px 0 70px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

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

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

  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .feature-layout {
    gap: 22px;
  }

  .feature-content h2 {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .feature-content > p {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .feature-list {
    margin-top: 20px;
    gap: 14px;
  }

  .feature-item {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
  }

  .feature-item span {
    width: 8px;
    height: 8px;
    margin-top: 7px;
  }

  .feature-item p {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .feature-media img {
    height: 280px;
    border-radius: 22px;
  }

  .cta-box {
    padding: 30px 24px;
  }

  .btn,
  .btn-large {
    width: 100%;
  }

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

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

  .hero-points {
    gap: 10px;
  }

  .hero-points li {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
  }

  .feature-block.section {
    padding: 72px 0;
  }

  .feature-layout {
    gap: 18px;
  }

  .feature-content h2 {
    font-size: 1.62rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .feature-content > p {
    font-size: 0.93rem;
    line-height: 1.68;
  }

  .feature-item {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 9px;
  }

  .feature-item p {
    font-size: 0.93rem;
    line-height: 1.54;
  }

  .feature-media img {
    height: 230px;
    border-radius: 20px;
  }
}
