/* ===== Page-owned home styles ===== */

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-color: #0A0A0A;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left bottom;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000000CC 0%, #00000088 45%, #00000033 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px 64px;
}

.hero-text-block {
  max-width: 600px;
  text-align: left;
  margin-left: 0;
}

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: #C6FF00;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 4px 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-text-block h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #F5F0E8;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #F5F0E8;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta-primary {
  background-color: #C6FF00;
  color: #0A0A0A;
  border: 1px solid #C6FF00;
}

.hero-cta-primary:hover {
  background-color: #1E3A5F;
  border-color: #1E3A5F;
  color: #F5F0E8;
}

.hero-cta-secondary {
  background-color: transparent;
  color: #F5F0E8;
  border: 1px solid #3A3A3A;
}

.hero-cta-secondary:hover {
  background-color: #1E3A5F;
  border-color: #1E3A5F;
  color: #F5F0E8;
}

/* Shared service section spacing */
.service-section {
  padding-block: 96px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Asymmetric service layouts */
.service-container {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 48px;
  align-items: center;
}

.service-container-reverse {
  grid-template-columns: 40% 60%;
}

.service-text {
  min-width: 0;
}

.service-text-left {
  text-align: left;
}

.service-text-right {
  text-align: right;
}

.service-text-right .gallery-caption,
.service-text-right h2,
.service-text-right .service-lead,
.service-text-right .service-list {
  margin-left: auto;
  margin-right: 0;
}

.service-text-right .service-list {
  padding-left: 0;
  list-style-position: inside;
}

.service-text .gallery-caption {
  margin-bottom: 16px;
}

.service-text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 500px;
}

.service-text-right h2 {
  max-width: 500px;
}

.service-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #F5F0E8;
  margin-bottom: 24px;
  max-width: 500px;
}

.service-text-right .service-lead {
  max-width: 500px;
}

.service-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.service-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #F5F0E8;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #C6FF00;
}

.service-image {
  min-width: 0;
}

.service-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-image-right {
  text-align: right;
}

.service-image-left {
  text-align: left;
}

/* Section headings */
.section-heading {
  margin-bottom: 48px;
}

.section-heading-center {
  text-align: center;
}

.section-heading .gallery-caption {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #F5F0E8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Corporate cards */
.corporate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.corporate-card {
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 24px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  min-width: 0;
}

.corporate-card:hover {
  border-color: #C6FF00;
  background-color: #1E1E1E;
}

.corporate-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #F5F0E8;
}

.corporate-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #B8B2A8;
  max-width: 300px;
}

/* Team building */
.teambuilding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.teambuilding-column {
  min-width: 0;
}

.teambuilding-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.teambuilding-list li {
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #F5F0E8;
  transition: border-color 0.2s ease;
}

.teambuilding-list li:hover {
  border-color: #C6FF00;
}

/* Private cards */
.private-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.private-card {
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 24px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  min-width: 0;
}

.private-card:hover {
  border-color: #C6FF00;
  background-color: #1E1E1E;
}

.private-card h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #F5F0E8;
}

.private-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #B8B2A8;
  max-width: 300px;
}

/* Process section */
.process-section {
  background-color: #F5F0E8;
  padding-block: 96px;
}

.process-section .section-heading .gallery-caption {
  color: #1A1A1A;
  border-color: #3A3A3A;
}

.process-section .section-heading h2 {
  color: #0A0A0A;
}

.process-section .section-intro {
  color: #1A1A1A;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-step {
  background-color: #FFFFFF;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 24px;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.process-step:hover {
  border-color: #C6FF00;
}

.process-number {
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #0A0A0A;
}

.process-step p {
  font-size: 14px;
  line-height: 1.5;
  color: #1A1A1A;
  max-width: 250px;
}

/* Final CTA */
.final-cta-section {
  background-color: #F5F0E8;
  padding-block: 96px;
}

.final-cta-content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.final-cta-content h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.3;
  color: #0A0A0A;
  margin-bottom: 16px;
}

.final-cta-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.final-cta-benefits {
  list-style: none;
  padding-left: 0;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.final-cta-benefits li {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
}

.final-cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #C6FF00;
  color: #0A0A0A;
  border: 1px solid #C6FF00;
  border-radius: 2px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.final-cta-button:hover {
  background-color: #1E3A5F;
  border-color: #1E3A5F;
  color: #F5F0E8;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .service-container,
  .service-container-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-text-right {
    text-align: left;
  }

  .service-text-right .gallery-caption,
  .service-text-right h2,
  .service-text-right .service-lead,
  .service-text-right .service-list {
    margin-left: 0;
    margin-right: 0;
  }

  .service-text-right .service-list {
    padding-left: 0;
    list-style-position: outside;
  }

  .service-image-right,
  .service-image-left {
    text-align: center;
  }

  .corporate-grid,
  .private-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-content {
    padding: 0 16px 32px;
  }

  .hero-text-block {
    max-width: 100%;
  }

  .hero-text-block h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .service-section,
  .process-section,
  .final-cta-section {
    padding-block: 64px;
  }

  .container {
    padding-inline: 16px;
  }

  .corporate-grid,
  .private-grid,
  .process-grid,
  .teambuilding-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .final-cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .img-grayscale {
    transition: none;
  }
}
