/* Unified friendly design — matches layout518 & layout359 */

:root {
  --primary: #3b82f6;
  --bg: #fafafa;
  --text: #263238;
  --muted: #475569;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(16,24,40,0.06);
}

/* Section */
.layout204-section {
  padding: 3.5rem 5%;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Grid */
.layout204-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Image */
.layout204-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.03);
  max-height: 420px;
}

/* Content */
.layout204-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.layout204-tagline {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.layout204-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #071133;
  line-height: 1.15;
}

.layout204-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Logos */
.layout204-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.layout204-logos img {
  max-height: 48px;
  object-fit: contain;
  filter: saturate(1) contrast(0.98);
}

/* Buttons — pill style */
.layout204-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.layout204-buttons a,
.layout204-buttons .btn {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 20px rgba(16,24,40,0.04);
}

.layout204-buttons a:hover,
.layout204-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15,23,42,0.06);
}

.btn-secondary {
  background-color: var(--primary);
  color: #fff;
  border: none;
}

.btn-link {
  background: rgba(59,130,246,0.06);
  color: var(--primary);
  border: 2px solid rgba(37,99,235,0.12);
}

/* Responsive */
@media (min-width: 768px) {
  .layout204-grid {
    flex-direction: row;
    gap: 3.5rem;
  }

  .layout204-image,
  .layout204-content {
    flex: 1;
  }

  .layout204-content { justify-content: center; }
}

@media (max-width: 900px) {
  .layout204-section { padding: 2.5rem 4%; }
  .layout204-image img { max-height: 360px; }
}

@media (max-width: 480px) {
  .layout204-heading { font-size: 1.6rem; }
  .layout204-image img { max-height: 260px; }
  .layout204-buttons a,
  .layout204-buttons .btn { padding: 0.5rem 0.9rem; font-size: 0.95rem; }
}
