/* ============================================
   Drougas Skiasi — Home Page Styles
   ============================================ */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 900px);
  padding: 0;
  color: #fff;
  background: #111;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: min(840px, 96%);
  margin-inline: clamp(1rem, 4vw, 4rem);
  position: relative;
  z-index: 3;
}

.hero-copy .eyebrow {
  color: rgba(253, 250, 246, 0.9);
  margin-bottom: 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.4rem, 8.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  max-width: 11ch;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-copy .lead {
  color: rgba(253, 250, 246, 0.88);
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  margin: 1.05rem 0 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.btn-hero-main {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 102, 43, 0.35);
}

.btn-hero-main:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-hero-alt {
  border-color: rgba(253, 250, 246, 0.68);
  color: #fff;
  background: transparent;
}

.btn-hero-alt:hover {
  background: #fff;
  border-color: #fff;
  color: #1a1714;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.6);
  pointer-events: none;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Local NAP + Map --- */
.local-grid {
  display: grid;
  gap: 1.25rem;
}

.local-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.local-card h3 {
  margin-bottom: 0.6rem;
}

.local-nap {
  margin: 0;
  color: var(--text-soft);
}

.local-nap strong {
  color: var(--heading);
}

.local-areas {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.local-map {
  width: 100%;
  height: min(360px, 55vh);
  border: 0;
  border-radius: calc(var(--radius) - 0.15rem);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* --- Featured Projects Grid --- */
.featured-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.featured-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.featured-item:hover img {
  transform: scale(1.015);
}

.featured-item-info {
  padding: 0.75rem 1rem;
  background: var(--surface);
}

.featured-item-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.featured-cta {
  text-align: center;
  margin-top: 2rem;
}

/* --- Pillars (Why Us) --- */
.pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pillar-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--accent);
  opacity: 0.3;
}

.pillar h3 {
  margin-bottom: 0.5rem;
}

.pillar p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* --- Responsive --- */
@media (min-width: 600px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .local-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.1rem, 7vw, 6.8rem);
  }

  .hero-copy .lead {
    max-width: 44ch;
    margin-top: 1.1rem;
  }

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

  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: clamp(540px, 86vh, 760px);
  }

  .hero-inner {
    padding-top: clamp(7rem, 18vw, 8.5rem);
    padding-bottom: clamp(2rem, 9vw, 3rem);
  }

  .hero-copy h1 {
    line-height: 0.97;
    max-width: 12ch;
  }

  .hero-copy .lead {
    font-size: 0.98rem;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }
}
