/* ==========================================================================
   ADESMY Fiber Optics — Page Sections & Components
   ========================================================================== */

/* Hero */
.hero {
  position: relative;
  color: #ffffff;
  background: var(--navy)
    url("https://adesmy-fiber-connect.lovable.app/assets/globe-network-BetPJO4v.jpg")
    center / cover;
  padding: 110px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 44, 0.92), rgba(7, 22, 44, 0.55));
}

.hero .container {
  position: relative;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 15ch;
  margin: 14px 0 18px;
}

.hero p {
  max-width: 55ch;
  font-size: 1.15rem;
  color: #d3deee;
  margin: 0 0 28px;
}

/* Stats Bar */
.stats {
  background: var(--navy);
  color: #ffffff;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.stats b {
  display: block;
  font-size: 2.1rem;
  color: var(--cyan);
}

.stats span {
  font-size: 0.9rem;
  color: #b9c7dc;
}

@media (max-width: 640px) {
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Service Cards */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--blue);
}

.card-num {
  font-style: normal;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1.15rem;
  margin: 10px 0 8px;
}

.card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.96rem;
}

/* Checklist / Feature List */
.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}

.checklist--flush {
  margin-top: 0;
}

.checklist li {
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
}

.checklist b {
  display: block;
}

.checklist span {
  color: var(--mute);
  font-size: 0.95rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--line);
}

.gallery figcaption {
  font-style: italic;
  color: var(--mute);
  font-size: 0.92rem;
  padding-top: 8px;
}

/* Call to Action Banner */
.cta {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.cta p {
  max-width: 60ch;
  margin: 14px auto 26px;
  color: #c3d0e4;
}

.cta .row {
  justify-content: center;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #ffffff;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 0.93rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  width: 100%;
  background: #ffffff;
  color: var(--fg);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--mute);
  margin: 0;
}

/* Empty State (Reviews) */
.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--mute);
  text-align: center;
}

.feedback-actions {
  margin-top: 22px;
}

/* 404 Error State */
.not-found {
  text-align: center;
  padding: 96px 0;
}

.not-found h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 12px 0 14px;
}

.not-found p {
  color: var(--mute);
  max-width: 48ch;
  margin: 0 auto 28px;
}

.not-found .row {
  justify-content: center;
}
