:root {
  --accent: #223467;
  --accent-soft: #f2f2f2;
  --text: #212529;
  --muted: #212529;
  --card-bg: #f2f2f2;
  --page-bg: #f2f2f2;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

.wrap {
  max-width: 1100px;
  padding: 56px 20px 72px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 36px;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.descripcion {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
  margin: 20px 0 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
  justify-items: center;
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  width: 100%;
  max-width: 460px;
  background: var(--card-bg);
  border-radius: 18px;
  padding: 28px 26px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 30px rgba(34, 52, 103, 0.25);
  border: 1px solid rgba(2, 6, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.3);
}

.icon-ring {
  width: 150px;
  height: 150px;
  margin: 2px auto 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  border: none; /* sin borde para no duplicar círculo */
}

/* ICONOS ESPECÍFICOS */
.icon-licencia {
  background-image: url("../images/licencia.png");
}

.icon-acarreo {
  background-image: url("../images/grua.png");
}

.card-title {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  text-underline-offset: 4px;
}
.card:hover .card-title {
  text-decoration: underline;
}
