.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  text-align: left;
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(26, 39, 68, 0.9));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }
}

.about-section {
  background: var(--color-white);
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  padding-bottom: 24px;
  padding-right: 24px;
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
  z-index: 0;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
  display: block;
  position: relative;
  z-index: 1;
}

.about-text .section-label {
  display: block;
  margin-bottom: 10px;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 18px;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 0.97rem;
}

.about-checklist {
  margin: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  padding: 0;
}

.about-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 600;
}

.about-check i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.65rem;
}

@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .about-image-wrap::after {
    display: none;
  }

  .about-image-wrap {
    padding: 0;
  }
}

.why-section {
  background: var(--color-white);
  padding: var(--section-padding);
}

.why-header {
  max-width: 560px;
  margin-bottom: 52px;
}

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

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(240, 124, 34, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-wrap i {
  font-size: 1.3rem;
  color: var(--color-accent);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.services-section {
  background: var(--color-bg);
  padding: var(--section-padding);
}

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

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.14);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.07);
}

.service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 39, 68, 0.1) 0%, rgba(26, 39, 68, 0.75) 100%);
  pointer-events: none;
}

.service-img-icon {
  position: absolute;
  bottom: 14px;
  left: 20px;
  font-size: 1.6rem;
  color: var(--color-white);
  z-index: 1;
}

.service-body {
  padding: 24px 24px 28px;
  background: var(--color-white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
  flex: 1;
}

.service-link {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 10px;
}

.service-link i {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.stats-section {
  background: var(--color-primary);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat-item {
  padding: 0 32px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item {
    padding: 24px 0;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.kde-section {
  background: var(--color-bg);
  padding: var(--section-padding);
}

.kde-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.kde-text .section-label {
  display: block;
  margin-bottom: 10px;
}

.kde-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.kde-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.kde-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kde-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(240, 124, 34, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1rem;
}

.kde-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.kde-info-item p {
  font-size: 0.93rem;
  color: var(--color-text);
  line-height: 1.5;
}

.kde-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
}

.kde-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .kde-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kde-map {
    height: 300px;
  }
}

.portfolio-grid-section {
  background: var(--color-white);
  padding: 100px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 380px;

  gap: 24px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.p-span-2 {
  grid-column: span 2;
}

.header-card {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-card .section-title {
  color: var(--color-white);
  margin-top: 10px;
  font-size: 1.8rem;
}

.header-card .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--color-white);
}

.project-tag {
  background: var(--color-accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: 800;
}

.project-info p {
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;
  }

  .p-span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

