/* enCODE Desarrollos Web: estilos. Mobile first, sin framework.
   Dirección visual: ficha técnica. Fondo claro, estructura con filetes, esquinas rectas,
   sin tarjetas con sombra ni fondos de color decorativos. Un solo bloque oscuro (la llamada a la acción).
   Tipografía: IBM Plex Sans, servida desde el propio sitio (sin conexiones a Google antes de aceptar cookies). */

@font-face {
    font-family: "IBM Plex Sans";
    src: url("/assets/fonts/ibm-plex-sans-variable.woff2") format("woff2");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

/* Colores: los tres del logotipo (CLAUDE.md), más blanco. Sin tintes. */
:root {
    --tinta: #231F20;
    --papel: #FFFFFF;
    --luz: #3ABFF0;
    --azul: #517FC0;
    --filete: rgba(35, 31, 32, 0.18);

    --ancho: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --fuente: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--fuente);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--tinta);
    background: var(--papel);
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    color: var(--tinta);
    line-height: 1.12;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

p {
    margin: 0 0 1em;
    max-width: 66ch;
}

a {
    color: var(--tinta);
    text-decoration: underline;
    text-decoration-color: var(--azul);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-color: var(--tinta);
}

:focus-visible {
    outline: 3px solid var(--azul);
    outline-offset: 3px;
}

/* Contenedor y secciones */

.contenedor {
    max-width: var(--ancho);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.seccion {
    padding-block: clamp(48px, 7vw, 88px);
    border-top: 1px solid var(--filete);
}

.seccion--suave {
    background: transparent;
}

.hero {
    padding-block: clamp(48px, 8vw, 104px) clamp(32px, 4vw, 48px);
}

.hero__fila {
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero__texto .acciones {
    margin-top: 28px;
}

.lead {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    max-width: 56ch;
}

.ilustracion {
    width: 100%;
    max-width: 440px;
    height: auto;
    margin-inline: auto;
}

.nota {
    font-size: 0.9rem;
}

.saltar {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--papel);
    padding: 8px 12px;
    z-index: 100;
}

.saltar:focus {
    left: var(--gutter);
}

/* Cabecera y menú */

.cabecera {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--papel);
    border-bottom: 1px solid var(--tinta);
}

.cabecera__fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 16px;
}

.logo img {
    height: 34px;
    width: auto;
}

.menu-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 8px 14px;
    font: inherit;
    font-weight: 600;
    color: var(--tinta);
    background: var(--papel);
    border: 2px solid var(--tinta);
    border-radius: 0;
    cursor: pointer;
}

.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--papel);
    border-bottom: 1px solid var(--tinta);
    padding: 8px var(--gutter) 16px;
}

.menu.abierto {
    display: block;
}

.menu__lista {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.menu__lista a {
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    border-bottom: 1px solid var(--filete);
}

.menu__lista a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--luz);
    text-decoration-thickness: 3px;
}

.menu .boton {
    width: 100%;
}

@media (min-width: 1180px) {
    .menu-toggle {
        display: none;
    }

    .menu {
        display: flex;
        align-items: center;
        gap: 16px;
        position: static;
        padding: 0;
        border: 0;
        background: none;
    }

    .menu__lista {
        display: flex;
        gap: 4px;
        margin: 0;
    }

    .menu__lista a {
        min-height: 40px;
        padding-inline: 8px;
        border: 0;
        font-size: 0.95rem;
    }

    .menu .boton {
        width: auto;
        min-height: 40px;
        padding-block: 8px;
    }
}

/* Botones: esquinas rectas en todo el sitio */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--tinta);
    background: transparent;
    border: 2px solid var(--tinta);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.boton--principal {
    background: var(--luz);
    border-color: var(--luz);
}

.boton--principal:hover {
    background: var(--tinta);
    border-color: var(--tinta);
    color: var(--papel);
}

.boton--secundario:hover {
    background: var(--tinta);
    color: var(--papel);
}

.acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Filas, columnas y tarjetas: los filetes marcan la estructura, no hay sombras */

.rejilla {
    display: grid;
    gap: 40px;
}

.tarjeta {
    padding: 24px 0 8px;
    border-top: 3px solid var(--tinta);
}

.tarjeta h3 {
    margin-bottom: 8px;
}

.tarjeta h3 a {
    color: inherit;
}

.tarjeta .boton {
    width: 100%;
    margin-top: 16px;
}

.tarjeta--destacada {
    background: var(--tinta);
    color: var(--papel);
    border-top-color: var(--luz);
    padding: 28px 24px 24px;
}

.tarjeta--destacada h3,
.tarjeta--destacada p,
.tarjeta--destacada .precio {
    color: var(--papel);
}

.tarjeta--destacada .lista-check li {
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

.tarjeta--destacada .lista-check li::before {
    color: var(--luz);
}

/* Lista de servicios en filas: título a la izquierda, descripción a la derecha */

.rejilla--lista .tarjeta {
    padding: 20px 0;
    border-top: 1px solid var(--tinta);
}

.rejilla--lista .tarjeta:last-child {
    border-bottom: 1px solid var(--tinta);
}

.rejilla--lista .tarjeta h3,
.rejilla--lista .tarjeta p {
    margin: 0;
}

.lista-check {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.lista-check li {
    position: relative;
    padding: 8px 0 8px 1.7em;
    border-bottom: 1px solid var(--filete);
}

.lista-check li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: 700;
    color: var(--azul);
}

.precio {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 12px 0 8px;
}

.precio small {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 6px;
}

/* Llamada a la acción: el único bloque oscuro de cada página */

.cta-bloque {
    background: var(--tinta);
    color: var(--papel);
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
}

.cta-bloque h2,
.cta-bloque p {
    color: var(--papel);
}

.cta-bloque a:not(.boton) {
    color: var(--papel);
}

.cta-bloque .boton--secundario {
    color: var(--papel);
    border-color: var(--papel);
}

.cta-bloque .boton--secundario:hover {
    background: var(--papel);
    color: var(--tinta);
}

/* Pie */

.pie {
    background: var(--tinta);
    color: var(--papel);
    padding-block: 48px;
    font-size: 0.95rem;
}

.pie a {
    color: var(--luz);
    text-decoration-color: var(--luz);
}

.pie__rejilla {
    display: grid;
    gap: 32px;
}

.pie__rejilla ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pie__rejilla li {
    margin-bottom: 8px;
}

.pie__titulo {
    font-weight: 600;
    margin-bottom: 12px;
}

.pie__legal {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* Formularios y avisos */

[hidden] {
    display: none !important;
}

.formulario {
    display: grid;
    gap: 20px;
}

.formulario__fila {
    display: grid;
    gap: 20px;
}

.campo label,
.campo legend {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    font: inherit;
    color: var(--tinta);
    background: var(--papel);
    border: 2px solid var(--azul);
    border-radius: 0;
}

.campo textarea {
    min-height: 120px;
    resize: vertical;
}

.campo [aria-invalid="true"] {
    border-color: var(--tinta);
    border-width: 3px;
}

.campo--check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.campo--check label {
    font-weight: 400;
    margin: 0;
}

.campo--check input {
    width: 22px;
    min-width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--tinta);
}

.alerta {
    background: var(--papel);
    border: 2px solid var(--tinta);
    border-left-width: 8px;
    border-radius: 0;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.alerta p {
    margin: 0 0 8px;
    font-weight: 600;
}

.alerta ul {
    margin: 0;
    padding-left: 1.25em;
}

.banner-cookies {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--papel);
    border-top: 3px solid var(--tinta);
    padding-block: 16px;
}

.banner-cookies__fila {
    display: grid;
    gap: 16px;
}

.banner-cookies p {
    margin: 0;
    font-size: 0.95rem;
    max-width: none;
}

.banner-cookies .acciones {
    justify-content: flex-start;
}

/* Textos legales y blog */

.legal {
    max-width: 72ch;
}

.legal h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--filete);
}

.legal ul,
.legal ol {
    padding-left: 1.25em;
}

/* Diseño por columnas */

.dos-columnas {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero__fila {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .dos-columnas {
        grid-template-columns: 1.4fr 1fr;
    }

    .formulario__fila {
        grid-template-columns: 1fr 1fr;
    }

    .rejilla--2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 48px;
    }

    .rejilla--3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .rejilla--lista .tarjeta {
        display: grid;
        grid-template-columns: minmax(200px, 1fr) 2fr;
        gap: 24px;
        align-items: baseline;
    }

    .pie__rejilla {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .banner-cookies__fila {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Portada: titulares en Barlow (solo esta página), texto en IBM Plex Sans */

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/barlow-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("/assets/fonts/barlow-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.visualmente-oculto {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.portada h1,
.portada h2 {
    font-family: "Barlow", system-ui, sans-serif;
}

.portada h1 {
    font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.015em;
    max-width: 16ch;
}

.portada h2 {
    font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    max-width: 24ch;
}

.portada .hero {
    padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px);
}

/* Recorrido de un lote */

.recorrido {
    margin-top: 64px;
}

.recorrido__svg {
    display: block;
    width: 100%;
    height: auto;
}

.recorrido__linea {
    fill: none;
    stroke: var(--tinta);
    stroke-width: 3;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .recorrido__linea {
        stroke-dashoffset: 1;
        animation: recorrido-trazo 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    }
}

@keyframes recorrido-trazo {
    to {
        stroke-dashoffset: 0;
    }
}

.recorrido__pasos {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.recorrido__pasos li {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--tinta);
}

@media (min-width: 768px) {
    .recorrido__pasos {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .recorrido__pasos li {
        text-align: center;
        justify-items: center;
        padding-inline: 16px;
    }
}

/* Problemas: borrador hasta validarlos con clientes */

.etiqueta-borrador {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.problemas {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    max-width: 60ch;
}

.problemas li {
    font-size: 1.2rem;
    padding: 16px 0;
    border-top: 1px solid var(--tinta);
}

.problemas li:last-child {
    border-bottom: 1px solid var(--tinta);
}

/* Productos propios */

.productos {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.producto {
    display: grid;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--tinta);
}

.producto:last-child {
    border-bottom: 1px solid var(--tinta);
}

.producto__logo img {
    height: 56px;
    width: auto;
}

.producto__texto p {
    margin-bottom: 4px;
}

.producto__enlace {
    font-weight: 600;
}

@media (min-width: 768px) {
    .producto {
        grid-template-columns: 200px 1fr auto;
        align-items: center;
        gap: 32px;
    }
}

/* Panel con datos ficticios */

.panel {
    margin: 24px 0 0;
}

.panel svg {
    display: block;
    width: 100%;
    height: auto;
}

.panel figcaption {
    margin-top: 12px;
    font-size: 0.95rem;
}

.insignia {
    display: inline-block;
    padding: 2px 8px;
    border: 2px solid var(--tinta);
    font-weight: 700;
    margin-right: 8px;
}

/* Portada: bloques de color (oscuro, azul claro y blanco) */

.bloque {
    padding-block: clamp(56px, 8vw, 104px);
}

.bloque--oscuro {
    background: var(--tinta);
    color: var(--papel);
}

.bloque--oscuro h1,
.bloque--oscuro h2,
.bloque--oscuro h3,
.bloque--oscuro p,
.bloque--oscuro li {
    color: var(--papel);
}

.bloque--oscuro a:not(.boton) {
    color: var(--luz);
    text-decoration-color: var(--luz);
}

.bloque--oscuro .boton--principal {
    background: var(--luz);
    border-color: var(--luz);
    color: var(--tinta);
}

.bloque--oscuro .boton--principal:hover {
    background: var(--papel);
    border-color: var(--papel);
    color: var(--tinta);
}

.bloque--oscuro .boton--secundario {
    color: var(--papel);
    border-color: var(--papel);
}

.bloque--oscuro .boton--secundario:hover {
    background: var(--papel);
    color: var(--tinta);
}

.bloque--oscuro .lista-check li::before {
    color: var(--luz);
}

.bloque--azul {
    background: var(--luz);
    color: var(--tinta);
}

.bloque--azul h2,
.bloque--azul h3,
.bloque--azul p,
.bloque--azul li {
    color: var(--tinta);
}

.bloque--azul a:not(.boton) {
    color: var(--tinta);
    text-decoration-color: var(--tinta);
}

.bloque--azul .boton--principal {
    background: var(--tinta);
    border-color: var(--tinta);
    color: var(--papel);
}

.bloque--azul .boton--principal:hover {
    background: var(--papel);
    border-color: var(--papel);
    color: var(--tinta);
}

.bloque--azul .boton--secundario {
    color: var(--tinta);
    border-color: var(--tinta);
}

.bloque--azul .boton--secundario:hover {
    background: var(--tinta);
    color: var(--papel);
}

.bloque--azul .lista-check li {
    border-bottom-color: rgba(35, 31, 32, 0.3);
}

.bloque--azul .lista-check li::before {
    color: var(--tinta);
}

.portada h3 {
    font-family: "Barlow", system-ui, sans-serif;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ilustracion--luz {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin-inline: auto;
}

/* Productos: texto y panel en el mismo bloque */

.producto-bloque {
    display: grid;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.producto-bloque img {
    height: 56px;
    width: auto;
    margin-bottom: 20px;
}

.producto-bloque .boton {
    margin-top: 12px;
}

/* Método en cuatro pasos */

.metodo {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    gap: 32px;
}

.metodo li {
    border-top: 1px solid var(--tinta);
    padding-top: 16px;
}

@media (min-width: 768px) {
    .bloque--inicio .hero__fila {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .producto-bloque {
        grid-template-columns: 1fr 1fr;
    }

    .metodo {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

/* Portada: qué hacemos, productos con identidad propia y método */

.partes {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

.partes > div {
    border-top: 3px solid var(--tinta);
    padding-top: 20px;
}

.partes h3 {
    margin-bottom: 12px;
}

.partes p {
    margin-bottom: 12px;
}

.bloque--oscuro .metodo li {
    border-top-color: var(--papel);
}

.producto-bloque--centrado {
    justify-items: center;
    text-align: center;
}

.producto-bloque--centrado .panel {
    width: 100%;
    max-width: 680px;
}

@media (min-width: 768px) {
    .partes {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .producto-bloque--invertido figure {
        order: -1;
    }

    .producto-bloque--centrado {
        grid-template-columns: 1fr;
    }
}

/* Portada e iteración: hero general con productos, qué hacemos con iconos, método con números y flechas,
   problemas en dos columnas y pie compacto con el logotipo. */

.hero-productos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-productos a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    min-width: 160px;
    padding: 12px 16px;
    background: var(--papel);
}

.hero-productos img {
    height: 56px;
    width: auto;
}

.logo-producto {
    display: inline-block;
    background: var(--papel);
    padding: 8px 12px;
    margin-bottom: 20px;
}

.logo-producto img {
    display: block;
    height: 56px;
    width: auto;
}

.partes .icono {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.portada .partes h3 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
}

.metodo {
    gap: 40px;
}

.paso {
    position: relative;
}

.paso__numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    background: var(--luz);
    color: var(--tinta);
    font-family: "Barlow", system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.paso:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -28px;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h14M13 6l6 6-6 6' fill='none' stroke='%23231F20' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.bloque--oscuro .paso:not(:last-child)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h14M13 6l6 6-6 6' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.portada .problemas {
    max-width: none;
}

.pie {
    background: var(--luz);
    color: var(--tinta);
    padding-block: 28px 24px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pie a {
    color: var(--tinta);
    text-decoration-color: var(--tinta);
}

.pie__rejilla {
    gap: 20px;
}

.pie__rejilla li {
    margin-bottom: 4px;
}

.pie__logo {
    display: inline-block;
    background: var(--papel);
    padding: 8px 12px;
    margin-bottom: 12px;
}

.pie__logo img {
    display: block;
    height: 28px;
    width: auto;
}

.pie__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(35, 31, 32, 0.35);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .metodo {
        gap: 32px;
    }

    .portada .problemas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 48px;
    }

    .pie__rejilla {
        grid-template-columns: 1.6fr 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .paso:not(:last-child)::after {
        top: auto;
        bottom: -30px;
        right: auto;
        left: 16px;
        transform: rotate(90deg);
    }
}

/* Portada: ilustración de centro de control grande y fila de productos debajo */

.ilustracion--portada {
    display: block;
    width: 100%;
    max-width: 920px;
    height: auto;
    margin: 48px auto 0;
}

.hero-productos--fila {
    justify-content: center;
    margin-top: 40px;
}

/* Productos: la misma disposición para las tres aplicaciones (logo y texto a la izquierda, ilustración a la derecha) */

.producto-fila {
    display: grid;
    gap: 32px;
    align-items: center;
    padding-block: 40px;
    border-top: 1px solid var(--tinta);
}

.producto-fila:last-child {
    border-bottom: 1px solid var(--tinta);
}

.producto-fila .logo-producto {
    margin-bottom: 20px;
}

.producto-fila h3 {
    margin-bottom: 12px;
}

.producto-fila p {
    margin-bottom: 12px;
}

.producto-fila .boton {
    margin-top: 12px;
}

.producto-fila .panel {
    margin: 0;
}

@media (min-width: 768px) {
    .producto-fila {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

/* Páginas de producto: logo y texto a la izquierda, panel a la derecha (igual que en la portada) */

.hero__fila .panel {
    margin: 0;
}

/* Qué incluye: título de la lista dentro de cada aplicación */

.lista-titulo {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 8px;
}

/* Fila de producto: logo encima de la ilustración */

.producto-fila__visual {
    display: grid;
    gap: 20px;
    justify-items: start;
}

.producto-fila__visual .panel {
    justify-self: stretch;
    width: 100%;
    margin: 0;
}

/* Pie: fondo azul muy claro (tinta de #3ABFF0 al 12 %, sobre blanco) y logotipo sin fondo */

.pie {
    background: #E7F7FD;
}

.pie__logo {
    background: none;
    padding: 0;
    margin-bottom: 16px;
}

/* Blog: ilustración de cada artículo */

.blog-ilustracion {
    margin: 0 0 40px;
}

.blog-ilustracion img,
.tarjeta__imagen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.tarjeta__imagen {
    margin-bottom: 20px;
}
