/* Container general */
.focat-page {
  max-width: 960px;
  margin: 40px auto;
  padding: 24px 24px 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Navbar */
.focat-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.focat-logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.focat-logo span {
  text-transform: lowercase;
}

.focat-nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.95rem;
}

.focat-nav-links a {
  text-decoration: none;
  color: #4b5563;
}

.focat-nav-links a:hover {
  color: #111827;
}

.focat-search-btn {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 6px 10px;
  cursor: pointer;
}

/* Hero */
.focat-main {
  text-align: center;
}

.focat-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #1f2933;
}

.focat-hero-text {
  margin: 0 auto 32px;
  max-width: 520px;
  color: #4b5563;
}

/* Linie cu fibră + coaxial */
.focat-hero-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 36px;
  gap: 40px;
}

.focat-hero-fiber,
.focat-hero-coax {
  flex: 1;
}

/* Fibră optică – stânga */
.fiber-line {
  height: 4px;
  background: #4338ca;
  margin-right: 40px;
}

.fiber-head {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
  margin-right: 12px;
}

.fiber-head span {
  width: 10px;
  height: 3px;
  background: #4338ca;
  border-radius: 999px;
}

/* Coaxial – dreapta */
.focat-hero-coax {
  position: relative;
}

.coax-loop {
  height: 4px;
  background: #4338ca;
  border-radius: 999px;
  margin-left: 40px;
  position: relative;
}

.coax-loop::before {
  content: "";
  position: absolute;
  left: 25%;
  width: 40%;
  height: 24px;
  border-radius: 999px;
  border: 4px solid #4338ca;
  border-left-color: transparent;
  border-right-color: transparent;
  top: -10px;
}

.coax-tip {
  position: absolute;
  right: 0;
  top: -4px;
  width: 26px;
  height: 12px;
  border-radius: 12px;
  border: 3px solid #4338ca;
  background: #ffffff;
}

/* Card-uri */
.focat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.focat-card {
  display: block;
  text-align: left;
  padding: 18px 18px 20px;
  border-radius: 12px;
  background: #f9fafb;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.focat-card h2 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #1f2937;
}

.focat-card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.focat-card:hover {
  transform: translateY(-2px);
  border-color: #4338ca;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .focat-page {
    margin: 16px;
    padding: 16px 14px 24px;
  }

  .focat-hero h1 {
    font-size: 1.8rem;
  }

  .focat-hero-line {
    flex-direction: column;
    gap: 24px;
  }

  .focat-cards {
    grid-template-columns: 1fr;
  }

  .fiber-line {
    margin-right: 0;
  }

  .coax-loop {
    margin-left: 0;
  }
}
