/* ══════════════════
   SOLUTIONS SECTION
══════════════════ */

.solutions-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  background: linear-gradient(
    to bottom,
    rgba(0,170,255,.04),
    transparent 45%
  );
}

/* ══════════════════
   HEADER
══════════════════ */

.section-header {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-tag {
  display: inline-flex;
  align-items: center;

  padding: 6px 16px;
  border-radius: 999px;

  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: var(--accent2);
  background: rgba(0,170,255,.08);
  border: 1px solid rgba(0,170,255,.22);
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--brand);
  letter-spacing: -.6px;
  line-height: 1.1;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;

  background: linear-gradient(90deg, var(--comp-a), var(--comp-b));
  border-radius: 999px;

  transition: width .4s ease;
}

.section-header:hover h2::after {
  width: 120px;
}

.section-sub {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ══════════════════
   GRID
══════════════════ */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ══════════════════
   CARDS BASE
══════════════════ */

.solution-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);

  padding: 32px 28px;

  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
  transition: all .3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(6,42,66,.16);
  border-color: rgba(0,170,255,.25);
}

.solution-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -.2px;
}

.solution-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ══════════════════
   CUSTOM CARD
══════════════════ */

.custom-highlight {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(6,42,66,.98),
    rgba(0,119,204,.92)
  );
  color: #fff;
  overflow: hidden;
}

.custom-highlight::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    circle,
    rgba(255,255,255,.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;

  pointer-events: none;
}

.custom-highlight h3,
.custom-highlight p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.custom-highlight p {
  color: rgba(255,255,255,.82);
}

.custom-badge {
  display: inline-block;
  width: fit-content;

  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;

  padding: 6px 14px;
  border-radius: 999px;

  color: #7dd3fc;
  background: rgba(0,170,255,.18);
  border: 1px solid rgba(125,211,252,.35);
}

.custom-note {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.72);

  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ══════════════════
   RESPONSIVE
══════════════════ */

@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-highlight {
    grid-column: span 2;
  }
    .custom-highlight-width {
    grid-column: auto;
  }

    .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Professional Tools ocupa todo el ancho */
  .tools-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .solutions-section {
    padding: 100px 20px 60px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .custom-highlight {
    grid-column: auto;
  }

  .solution-card {
    padding: 26px 20px;
  }
}

/* ── Footer ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  padding: 28px 50px;
  font-size: .85rem;
  line-height: 2;
}
footer a { color: var(--accent2); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--accent); }
/* ══════════════════
   FULL WIDTH CUSTOM CARD
══════════════════ */

.custom-wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px 40px;
}

/* mejora layout interno para que respire más */
.custom-wide .solution-content {
  max-width: 900px;
}

/* opcional: centra contenido si quieres look premium */
.custom-wide {
  align-items: flex-start;
}

/* mejor tipografía dentro del bloque grande */
.custom-wide h3 {
  font-size: 1.6rem;
}

.custom-wide p {
  font-size: 1rem;
  line-height: 1.8;
}

/* botón más visible en bloque destacado */
.custom-wide .custom-btn {
  margin-top: 10px;
  align-self: flex-start;
}