/* =========================================================
   Tecnodent - Styles (v2)
   Objetivo: diseño moderno, limpio, premium técnico (inspirado en layout "medical")
   - Solo HTML + CSS
   - Responsive + accesible (foco visible, contraste, tamaños clicables)
   ========================================================= */

/* -------------------------
   1) Variables de diseño
   ------------------------- */
:root {
  /* Colores base */
  --bg: #111827;
  --bg-2: #0b1220;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(217, 222, 231, 0.16);

  --text: #d9dee7;
  --muted: rgba(217, 222, 231, 0.74);

  /* Acento (moderado, no “neón”) */
  --accent: #2dd4bf; /* teal */
  --accent-2: rgba(45, 212, 191, 0.18);

  /* Sombras (sutiles) */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Tipografía */
  --font:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;

  /* Radios */
  --radius: 18px;
  --radius-2: 24px;

  --h1: clamp(2.05rem, 3vw, 3.15rem);
  --h2: clamp(1.45rem, 2vw, 1.95rem);
  --h3: 1.07rem;
  --p: 1rem;

  /* Layout */
  --header-h: 74px;
  --section-y: clamp(2.6rem, 5vw, 3.6rem);
  --gap: 18px;

  /* Accesibilidad */
  --ring: 0 0 0 3px rgba(45, 212, 191, 0.22);
}

/* -------------------------
   2) Base
   ------------------------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(
      900px 500px at 15% 10%,
      rgba(45, 212, 191, 0.1),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 85% 10%,
      rgba(45, 212, 191, 0.08),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2.2rem);
  margin: 0 auto;
}

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(217, 222, 231, 0.18);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus {
  left: 10px;
  outline: 2px solid var(--accent);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* -------------------------
   3) Tipografía
   ------------------------- */
h1,
h2,
h3 {
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
h1 {
  font-size: var(--h1);
  line-height: 1.08;
}
h2 {
  font-size: var(--h2);
  line-height: 1.15;
}
h3 {
  font-size: var(--h3);
  line-height: 1.2;
}
p {
  margin: 0 0 12px;
  font-size: var(--p);
  color: rgba(217, 222, 231, 0.86);
}

.lead {
  font-size: 1.06rem;
  line-height: 1.55;
  color: rgba(217, 222, 231, 0.86);
  max-width: 65ch;
}
.small {
  font-size: 0.95rem;
  color: rgba(217, 222, 231, 0.8);
}

/* -------------------------
   4) Componentes generales
   ------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.1);
  color: rgba(217, 222, 231, 0.92);
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 222, 231, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.22), transparent);
  opacity: 0.55;
  border-radius: 999px;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--accent);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition:
    transform 0.12s ease,
    background-color 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    color 0.12s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--ring);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: rgba(45, 212, 191, 0.92);
  color: #06131a;
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 10px 24px rgba(45, 212, 191, 0.16);
}
.btn-primary:hover {
  background: rgba(45, 212, 191, 0.98);
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(217, 222, 231, 0.16);
  color: rgba(217, 222, 231, 0.92);
}
.btn-secondary:hover {
  border-color: rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.1);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(217, 222, 231, 0.16);
  color: rgba(217, 222, 231, 0.92);
}
.btn-ghost:hover {
  border-color: rgba(45, 212, 191, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(217, 222, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(217, 222, 231, 0.92);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: var(--ring);
}
label {
  display: grid;
  gap: 8px;
  font-weight: 850;
  color: rgba(217, 222, 231, 0.88);
  font-size: 0.95rem;
}
textarea {
  resize: vertical;
}

/* -------------------------
   5) Header / Nav
   ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(17, 24, 39, 0.7);
  border-bottom: 1px solid rgba(217, 222, 231, 0.1);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--accent);
}
img.brand-mark__img {
  display: block;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}
.brand-name {
  font-weight: 950;
  letter-spacing: 0.2px;
}
.brand-tag {
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-wrap {
  position: relative;
}
.nav-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(217, 222, 231, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--ring);
}
.nav-summary::-webkit-details-marker {
  display: none;
}

.nav-icon {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(217, 222, 231, 0.88);
  position: relative;
  display: inline-block;
}
.nav-icon::before,
.nav-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(217, 222, 231, 0.88);
}
.nav-icon::before {
  top: -6px;
}
.nav-icon::after {
  top: 6px;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-weight: 900;
  color: rgba(217, 222, 231, 0.86);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav a:hover {
  color: rgba(217, 222, 231, 0.96);
  border-color: rgba(45, 212, 191, 0.18);
  background: rgba(45, 212, 191, 0.08);
}
.nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--ring);
}

.nav-cta {
  border-color: rgba(45, 212, 191, 0.22) !important;
  background: rgba(45, 212, 191, 0.1);
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    right: 0;
    top: calc(var(--header-h) - 6px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(217, 222, 231, 0.14);
    background: rgba(11, 18, 32, 0.96);
    width: min(260px, 92vw);
    box-shadow: var(--shadow);
    transform-origin: top right;
  }
  details.nav-wrap:not([open]) .nav {
    display: none;
  }
}

/* -------------------------
   6) Secciones
   ------------------------- */
.section {
  padding: var(--section-y) 0;
}
.section-muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(217, 222, 231, 0.06);
  border-bottom: 1px solid rgba(217, 222, 231, 0.06);
}
.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.section-header p {
  margin: 0;
  color: rgba(217, 222, 231, 0.78);
  max-width: 70ch;
}
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* -------------------------
   7) Hero
   ------------------------- */
.hero {
  padding: calc(var(--section-y) - 0.6rem) 0 var(--section-y);
}
.hero-grid {
  display: grid;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}
.eyebrow {
  margin: 0 0 10px;
  color: rgba(217, 222, 231, 0.78);
  font-size: 0.98rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 18px;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.hero-bullets li {
  padding-left: 22px;
  position: relative;
  color: rgba(217, 222, 231, 0.82);
}
.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(45, 212, 191, 0.95);
  font-weight: 950;
}

.hero-card h2 {
  margin-bottom: 6px;
}
.mini-stats {
  display: grid;
  gap: 10px;
  margin: 14px 0 14px;
}
.mini-stats .stat {
  display: block;
  font-weight: 950;
  color: rgba(217, 222, 231, 0.92);
}
.mini-stats .small {
  margin: 0;
}

/* -------------------------
   8) Grids (Servicios / Proceso / Contacto)
   ------------------------- */
.grid {
  display: grid;
  gap: 14px;
}

.cards-8 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 620px) {
  .cards-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .cards-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cards-4 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.service-card h3 {
  margin: 0 0 6px;
}
.service-card p {
  margin: 0;
}

.step {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: rgba(217, 222, 231, 0.92);
  font-weight: 950;
  margin-bottom: 10px;
}

.split {
  display: grid;
  gap: 16px;
}
@media (min-width: 920px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 620px) {
  .contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.form {
  display: grid;
  gap: 12px;
}

/* -------------------------
   9) FAQ
   ------------------------- */
.accordion {
  display: grid;
  gap: 12px;
}
.accordion details {
  padding: 0;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  font-weight: 950;
  padding: 14px 16px;
  border-radius: var(--radius);
  outline: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion details[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.details-content {
  padding: 0 16px 14px;
  color: rgba(217, 222, 231, 0.84);
}
.accordion details:focus-within {
  box-shadow: var(--ring);
  border-radius: var(--radius);
}

/* -------------------------
   10) Footer
   ------------------------- */
.site-footer {
  padding: 44px 0 26px;
  border-top: 1px solid rgba(217, 222, 231, 0.08);
}
.footer-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 920px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.7fr;
    align-items: start;
  }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(217, 222, 231, 0.82);
}
.footer-links a:hover {
  color: rgba(45, 212, 191, 0.95);
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 222, 231, 0.08);
}

/* -------------------------
   11) Blog: lista
   ------------------------- */
.page-hero {
  padding: calc(var(--section-y) - 0.6rem) 0 18px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.06);
}
.search {
  display: flex;
  gap: 10px;
  margin: 16px 0 10px;
}
.search input {
  flex: 1;
}

@media (max-width: 520px) {
  .search {
    flex-direction: column;
    align-items: stretch;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 222, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(217, 222, 231, 0.86);
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
}
.chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: var(--ring);
}
.chip.is-active {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.1);
}

.posts-8 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .posts-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1020px) {
  .posts-8 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.post-card {
  overflow: hidden;
  padding: 0;
}
.post-card .post-body {
  padding: 16px;
}

.post-media {
  display: block;
  text-decoration: none;
  position: relative;
  padding: 18px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.1);
  background:
    radial-gradient(
      400px 200px at 20% 10%,
      rgba(45, 212, 191, 0.1),
      transparent 60%
    ),
    rgba(255, 255, 255, 0.03);
}
.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.85rem;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(11, 18, 32, 0.8);
}
.media-placeholder {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.1);
}

.meta {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: rgba(217, 222, 231, 0.7);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(217, 222, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(217, 222, 231, 0.84);
  font-weight: 900;
}
.post-title {
  margin: 0 0 8px;
}
.post-title a {
  text-decoration: none;
  color: rgba(217, 222, 231, 0.94);
}
.post-title a:hover {
  color: rgba(45, 212, 191, 0.96);
}

.pagination {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.page {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(217, 222, 231, 0.14);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 900;
  color: rgba(217, 222, 231, 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page:hover {
  border-color: rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.08);
}
.page.is-active {
  border-color: rgba(45, 212, 191, 0.28);
  background: rgba(45, 212, 191, 0.1);
}
.page.dots {
  border-color: transparent;
  background: transparent;
}

/* -------------------------
   12) Post: detalle
   ------------------------- */
.post-hero {
  padding: calc(var(--section-y) - 0.6rem) 0 18px;
  border-bottom: 1px solid rgba(217, 222, 231, 0.06);
}
.content-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 920px) {
  .content-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 222, 231, 0.12);
  border-radius: var(--radius);
  padding: 22px;
}
.content h2 {
  margin-top: 18px;
  letter-spacing: -0.15px;
}
.content p {
  color: rgba(217, 222, 231, 0.86);
}
.content ul,
.content ol {
  padding-left: 1.2rem;
}
.content li + li {
  margin-top: 6px;
}
.content a {
  color: rgba(217, 222, 231, 0.92);
}
.content a:hover {
  color: rgba(45, 212, 191, 0.95);
}

.divider {
  border: 0;
  border-top: 1px solid rgba(217, 222, 231, 0.12);
  margin: 18px 0;
}

.sidebar {
  display: grid;
  gap: 14px;
}
.sidebar h3 {
  margin: 0 0 8px;
  font-size: var(--h3);
}
.related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.related a {
  text-decoration: none;
  color: rgba(217, 222, 231, 0.86);
}
.related a:hover {
  color: rgba(45, 212, 191, 0.95);
}

/* -------------------------
   13) Post: layout v2 (compat con post.html)
   ------------------------- */
.muted {
  color: var(--muted);
}

.h4 {
  font-size: 0.98rem;
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: -0.12px;
}

/* Migas de pan */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(217, 222, 231, 0.7);
  font-size: 0.92rem;
  margin: 0 0 12px;
}
.breadcrumbs a {
  color: rgba(217, 222, 231, 0.84);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumbs a:hover {
  color: rgba(45, 212, 191, 0.96);
  border-bottom-color: rgba(45, 212, 191, 0.3);
}
.breadcrumbs:focus-within {
  outline: none;
}

/* Meta del post */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: rgba(217, 222, 231, 0.72);
  font-size: 0.94rem;
}
.meta-item {
  display: inline-flex;
  align-items: center;
}
.meta-dot {
  opacity: 0.65;
}

/* Acciones bajo título */
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* Layout post */
.post-layout {
  display: grid;
  gap: 16px;
}
@media (min-width: 920px) {
  .post-layout {
    grid-template-columns: 1.55fr 0.75fr;
    align-items: start;
  }
}

/* Artículo */
.post-article {
  padding: 22px;
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  margin-top: 18px;
  letter-spacing: -0.15px;
}
.prose p {
  color: rgba(217, 222, 231, 0.86);
}
.prose ul,
.prose ol {
  padding-left: 1.2rem;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  color: rgba(217, 222, 231, 0.92);
}
.prose a:hover {
  color: rgba(45, 212, 191, 0.95);
}
.prose hr {
  border: 0;
  border-top: 1px solid rgba(217, 222, 231, 0.12);
  margin: 18px 0;
}

/* Nota / callout */
.callout {
  margin: 16px 0;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

/* Acciones del post */
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Aside */
.post-aside {
  display: grid;
  gap: 16px;
  align-self: start;
}
@media (min-width: 920px) {
  .post-aside {
    position: sticky;
    top: calc(var(--header-h) + 18px);
  }
}
.aside-card {
  padding: 18px;
}

.aside-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.aside-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(217, 222, 231, 0.12);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: rgba(217, 222, 231, 0.88);
}
.aside-links a:hover {
  border-color: rgba(45, 212, 191, 0.24);
  background: rgba(45, 212, 191, 0.08);
  color: rgba(217, 222, 231, 0.96);
}

.mini-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  flex: 0 0 auto;
}
.mini-icon img {
  display: block;
  width: 18px;
  height: 18px;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 24px;
  color: rgba(217, 222, 231, 0.86);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 950;
}
.checklist.compact {
  gap: 8px;
}
.checklist.compact li {
  font-size: 0.97rem;
}

.aside-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Proceso (afinación visual) */
.process .card {
  min-height: 164px;
}
/* =========================================================
   GALERÍA DE TRABAJOS
   ========================================================= */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 222, 231, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card figcaption {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.work-card figcaption strong {
  color: rgba(217, 222, 231, 0.95);
}

.work-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ICONOS DE SERVICIOS - TECNODENT SOLUTIONS
   ========================================================= */

.service-icon {
  width: 76px;
  height: 76px;
  padding: 0;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 18px;

  background: #0b1220;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 18px rgba(45, 212, 191, 0.05);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.service-icon img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  border-radius: 17px;
}

/* Efecto discreto al pasar el mouse sobre la tarjeta */

.service-card:hover .service-icon {
  transform: translateY(-2px);

  border-color: rgba(45, 212, 191, 0.38);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(45, 212, 191, 0.1);
}

/* Mantiene las tarjetas visualmente ordenadas */

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Tablets */

@media (max-width: 900px) {
  .service-icon {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }

  .service-icon img {
    border-radius: 16px;
  }
}

/* Teléfonos */

@media (max-width: 580px) {
  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .service-icon img {
    border-radius: 15px;
  }
}

/* =========================================================
   ICONOS PEQUEÑOS EN ARTÍCULOS
   ========================================================= */

.mini-icon {
  width: 40px;
  height: 40px;

  padding: 0;

  overflow: hidden;

  background: #0b1220;

  border: 1px solid rgba(45, 212, 191, 0.18);

  border-radius: 12px;
}

.mini-icon img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 11px;
}

/* =========================================================
   ICONOS DEL BLOG
   ========================================================= */

.media-placeholder {
  width: 76px;
  height: 76px;

  padding: 0;

  overflow: hidden;

  border-radius: 18px;

  border: 1px solid rgba(45, 212, 191, 0.18);

  background: #0b1220;
}

.media-placeholder img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 17px;
}

/* =========================================================
   ICONOS NUEVOS - TECNODENT SOLUTIONS
   ========================================================= */

/* ---------- Servicios ---------- */

.service-icon {
  width: 76px;
  height: 76px;
  padding: 0;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 18px;

  background: #0b1220;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 18px rgba(45, 212, 191, 0.05);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.service-icon img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  border-radius: 17px;
}

.service-card:hover .service-icon {
  transform: translateY(-2px);

  border-color: rgba(45, 212, 191, 0.38);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(45, 212, 191, 0.1);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------- Blog ---------- */

.media-placeholder {
  width: 76px;
  height: 76px;

  padding: 0;

  overflow: hidden;

  border-radius: 18px;

  border: 1px solid rgba(45, 212, 191, 0.18);

  background: #0b1220;
}

.media-placeholder img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 17px;
}

/* ---------- Post / artículos ---------- */

.mini-icon {
  width: 40px;
  height: 40px;

  padding: 0;

  overflow: hidden;

  flex: 0 0 auto;

  background: #0b1220;

  border: 1px solid rgba(45, 212, 191, 0.18);

  border-radius: 12px;
}

.mini-icon img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 11px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .service-icon {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }

  .service-icon img {
    border-radius: 16px;
  }
}

@media (max-width: 580px) {
  .service-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .service-icon img {
    border-radius: 15px;
  }

  .media-placeholder {
    width: 68px;
    height: 68px;
  }
}
