
:root {
    --card-width: 360px;
    --navy: #061733;
    --muted: #334155;
    --border: #dfe7ef;
    --blue: #003d8f;
    --blue-soft: #eef5ff;
    --green: #138a3d;
    --green-soft: #edf9f0;
    --ink: #081936;
    --text: #1d2b44;
    --muted: #526176;
    --line: #dfe6ef;
    --soft: #f6f8fc;
    --purple: #7657d6;
    --purple-soft: #f3efff;

}

* {
    box-sizing: border-box;
}

.cards-grid {
    width: 1320px;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 360px);
    justify-content: center;
    gap: 26px;
}


.material-card {
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.card-media {
    position: relative;
    height: 174px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.status-tags {
    position: absolute;
    top: 16px;
    left: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 11px;
    border: 1px solid currentColor;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.84);
}

.tag-blue {
    color: var(--blue);
    background: var(--blue-soft);
}

.tag-green {
    color: var(--green);
    background: var(--green-soft);
}

.card-content {
    min-height: 230px;
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
}

.card-content h1 {
    margin: 0;
    max-width: 285px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
}

.card-content p {
    margin: 17px 0 24px;
    max-width: 295px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

sub {
    font-size: 0.65em;
    line-height: 0;
}

.card-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}


.sustainability-label {
    display: inline-flex;
    align-items: center;
    color: #2fada9;
    font-size: 12px;
    font-weight: 700;
}

.sustainability-icon {
    place-items: center;
    color: #2fada9;
}

.material-label {
    display: inline-flex;
    align-items: center;
    color: #17692f;
    font-size: 12px;
    font-weight: 700;
}

.material-icon {
    place-items: center;
    color: #228946;
}

.photochemistry-label {
    display: inline-flex;
    align-items: center;
    color: #012f6c;
    font-size: 12px;
    font-weight: 700;
}
.photochemistry-icon {
    display: inline-grid;
    color: #223789;
}
.biotechnology-label {
    display: inline-flex;
    align-items: center;
    color: #685092;
    font-size: 12px;
    font-weight: 700;
}
.biotechnology-icon {
    display: inline-grid;
    color: #685092;
}
.sensors-label {
    display: inline-flex;
    align-items: center;
    color: #e3cd3c;
    font-size: 12px;
    font-weight: 700;
}
.sensors-icon {
    display: inline-grid;
    color: #e3cd3c;
}

.arrow-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    margin-left: auto;
    color: #ffffff;
    text-decoration: none;
    background: #ac933e;
    border-radius: 50%;
}

.arrow-button span {
    transform: translateX(1px);
    font-size: 22px;
    line-height: 1;
}

.arrow-button:hover {
    background: #968138;
}

.arrow-button:focus-visible {
    outline: 3px solid rgba(0, 59, 134, 0.28);
    outline-offset: 4px;
}

@media (max-width: 420px) {
    .page {
        padding: 18px;
    }

    .card-media {
        height: 158px;
    }
}


.material-symbols-outlined {
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 48;
    font-size: 26px;
    line-height: 1;
}



.material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 24;
}

.detail-page {
    width: 100%;
    padding: 0;
    background: transparent;
}

.modal-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
    overflow-x: hidden;
    background: #ffffff;
    border-radius: 0;
    position: relative;
}

.technology-detail {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(260px, 44%) minmax(0, 1fr);
    gap: clamp(22px, 3.5vw, 56px);
    align-items: center;
    padding: clamp(20px, 3vw, 42px);
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    aspect-ratio: 1.28;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.hero-content {
    padding: 4px 0 0;
    min-width: 0;
    text-align: left;
}

.hero-content h1,
.hero-content p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.status-tags {
    position: absolute;
    top: 16px;
    left: 18px;
}

.technology-detail .status-tags {
    position: static;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.technology-detail .hero-content,
.technology-detail .hero-content h1,
.technology-detail .hero-content p {
    text-align: left;
}

.technology-detail,
.technology-detail * {
    text-align: left;
}

.technology-detail .hero-content,
.technology-detail .hero-content h1,
.technology-detail .hero-content p,
.technology-detail .summary-item,
.technology-detail .summary-item h2,
.technology-detail .summary-item p,
.technology-detail .info-block,
.technology-detail .info-block h2,
.technology-detail .info-block p,
.technology-detail .info-block li,
.technology-detail .reference-link {
    text-align: left;
}

.check-list,
.dot-list,
.icon-list {
    text-align: left;
    align-items: flex-start;
}

.check-list li,
.dot-list li,
.icon-list li {
    justify-content: flex-start;
    text-align: left;
}


.technology-detail .hero-content,
.technology-detail .summary-item,
.technology-detail .info-block {
    text-align: left;
}

.technology-detail h1,
.technology-detail h2,
.technology-detail p,
.technology-detail li,
.technology-detail a {
    text-align: left;
}

.hero h1 {
    max-width: 600px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    letter-spacing: 0;
}

.hero p {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 28px;
}

.contact-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.contact-button .material-symbols-outlined {
    font-size: 20px;
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
    padding: clamp(18px, 2.4vw, 32px);
    border: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    background: #ffffff;
}

.summary-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.summary-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    color: #315bb8;
    background: #f1f4ff;
    border-radius: 50%;
}

.summary-item h2,
.info-block h2 {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.2;
}

.summary-item p {
    margin: 6px 0 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.info-block {
    min-height: 178px;
    padding: clamp(22px, 2.8vw, 34px);
    border-top: 1px solid var(--line);
}

.info-block:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.info-block p {
    margin: 22px 0 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
}

.info-block a {
    margin: 0;
    line-height: 1.35;
}

.info-block br {
    line-height: 1;
}

.check-list,
.dot-list,
.icon-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.dot-list li,
.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}

.check-list li + li,
.dot-list li + li,
.icon-list li + li {
    margin-top: 15px;
}

.check-list .material-symbols-outlined {
    color: var(--green);
    font-size: 19px;
}

.dot-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-top: 8px;
    background: #1b61c7;
    border-radius: 50%;
}

.icon-list .material-symbols-outlined {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--purple);
    background: var(--purple-soft);
    border-radius: 50%;
    font-size: 16px;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.keyword-list span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    color: #31507a;
    background: #eef3fb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #143158;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.reference-link .material-symbols-outlined {
    color: #0f6b8f;
    font-size: 17px;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-image {
        max-height: none;
        aspect-ratio: 1.45;
    }

    .summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-block:nth-child(odd),
    .info-block:nth-child(even) {
        border-right: 0;
    }
}

@media (max-width: 680px) {
    .summary-strip,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-block:nth-child(odd),
    .info-block:nth-child(even) {
        border-right: 0;
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .summary-strip,
    .info-block {
        padding: 24px;
    }
}

.modal-content {
    width: min(1120px, calc(100vw - 48px));
    height: auto;
    max-height: none;
    overflow: visible;
    background: #fff;

}

.modal-body {
    height: auto;
    max-height: none;
    overflow: visible;
}

.detail-page,
.modal-shell,
.technology-detail {
    height: auto;
    max-height: none;
    overflow: visible;
}

.modal-content,
.modal-body,
.detail-page,
.modal-shell,
.technology-detail {
    height: auto;
    max-height: none;
    overflow: visible;
}

.modal {
    overflow-y: auto;
}


.word-tag {
    display: inline-flex;
    width: fit-content;
    max-width: max-content;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    color: #31507a;
    background: #eef3fb;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease; /* añade animación suave */
}

.word-tag:hover {
    background: #dce6f7;  /* color más intenso */
    color: #1f3e66;       /* opcional: texto más oscuro */
}

a:hover .word-tag {
    background: #dce6f7;
    color: #1f3e66;
}