:root {
    --color-blue-900: #1f4d7a;
    --color-blue-700: #2b68a6;
    --color-blue-200: #abcae9;
    --color-blue-100: #eef8fb;
    --color-pink-700: #b33f70;
    --color-pink-500: #f03f9e;
    --color-pink-100: #f6ecf4;
    --color-gold-500: #e1b726;
    --color-gold-200: #ecd183;
    --color-wine: #7b143d;
    --color-teal: #167f83;
    --color-orange: #d9802f;
    --color-cream: #f9f2e1;
    --color-text: #2f2f2f;
    --color-white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(31, 77, 122, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(145deg, rgba(246, 236, 244, .76) 0, rgba(238, 248, 251, .8) 28rem, rgba(249, 242, 225, 0) 58rem),
        linear-gradient(90deg, rgba(236, 209, 131, .48) 0, rgba(255, 255, 255, 0) 44rem),
        var(--color-cream);
    background-repeat: no-repeat;
    color: var(--color-text);
    font-family: Asap, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
}

a {
    color: var(--color-blue-900);
    text-decoration-color: var(--color-pink-500);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--color-pink-700);
}

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

h1,
h2,
h3,
h4 {
    color: var(--color-blue-900);
    font-family: "Asap Condensed", "Arial Narrow", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.12;
    margin: 0;
}

h1 {
    font-size: 3.75rem;
    max-width: 12ch;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.45rem;
}

h4 {
    font-size: 1.55rem;
}

p {
    margin: 0;
}

.site-header,
.hero,
.intro-band,
.projects-section,
.closing-band,
.site-footer {
    margin-inline: auto;
    max-width: 1160px;
    width: min(100% - 32px, 1160px);
}

.site-header {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 22px 0;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    font-weight: 700;
    text-decoration: none;
}

.brand img {
    width: 54px;
}

.brand span {
    color: var(--color-blue-900);
}

.top-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-end;
}

.top-nav a {
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    padding: 56px 0 42px;
    position: relative;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.project-type {
    color: var(--color-pink-700);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-lead {
    color: var(--color-blue-900);
    font-size: 1.45rem;
    line-height: 1.35;
    margin: 20px 0 14px;
    max-width: 760px;
}

.hero-copy > p:not(.eyebrow):not(.hero-lead) {
    font-size: 1.1rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button,
button {
    background: var(--color-blue-900);
    border: 0;
    border-radius: 6px;
    color: var(--color-white);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    text-align: center;
    text-decoration: none;
}

.button:hover,
button:hover {
    background: var(--color-pink-700);
    color: var(--color-white);
}

.button.secondary,
button.secondary {
    background: var(--color-blue-100);
    color: var(--color-blue-900);
}

.button.secondary:hover,
button.secondary:hover {
    background: var(--color-pink-100);
    color: var(--color-blue-900);
}

.hero-panel {
    background: var(--color-white);
    border: 1px solid var(--color-blue-200);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.profile-panel {
    background:
        linear-gradient(180deg, rgba(246, 236, 244, .82), rgba(255, 255, 255, 0) 46%),
        var(--color-white);
    overflow: hidden;
    padding: 12px;
    position: relative;
}

.profile-panel::before {
    background: linear-gradient(90deg, var(--color-gold-500), var(--color-pink-500), var(--color-blue-700));
    content: "";
    display: block;
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.profile-photo {
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    object-fit: cover;
    object-position: 50% 28%;
    width: 100%;
}

.profile-picture {
    display: block;
}

.profile-note {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 72px 1fr;
    padding: 18px 12px 10px;
}

.profile-note img {
    width: 72px;
}

.profile-note p {
    color: var(--color-blue-900);
    font-size: 1.02rem;
}

.intro-band,
.closing-band {
    align-items: start;
    border-block: 1px solid rgba(171, 202, 233, .9);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
    padding: 34px 0;
}

.intro-band p:last-child,
.closing-band p:last-child {
    font-size: 1.08rem;
}

.projects-section {
    padding: 54px 0 36px;
}

.section-heading {
    max-width: 820px;
}

.section-heading p:last-child {
    font-size: 1.08rem;
    margin-top: 14px;
}

.project-group {
    margin-top: 38px;
}

.project-group h3 {
    border-left: 5px solid var(--color-gold-500);
    margin-bottom: 18px;
    padding-left: 14px;
}

.project-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
    --project-accent: var(--color-blue-700);
    --project-secondary: var(--project-accent);
    --project-soft: var(--color-blue-100);
    background:
        linear-gradient(135deg, var(--project-soft), rgba(255, 255, 255, .92) 48%),
        var(--color-white);
    border: 1px solid rgba(171, 202, 233, .9);
    border-color: color-mix(in srgb, var(--project-accent) 34%, white);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(31, 77, 122, .08);
    display: flex;
    flex-direction: column;
    min-height: 365px;
    padding: 24px;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.project-card::before {
    background: linear-gradient(90deg, var(--project-accent), var(--project-secondary));
    border-radius: 8px 8px 0 0;
    content: "";
    height: 6px;
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px;
}

.project-card:hover {
    box-shadow: 0 18px 42px rgba(31, 77, 122, .14);
    transform: translateY(-3px);
}

.project-card.featured {
    border-color: var(--color-gold-500);
    border-color: color-mix(in srgb, var(--project-accent) 42%, white);
}

.project-logo {
    align-items: center;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 8px;
    display: block;
    height: 92px;
    margin-bottom: 20px;
    max-width: 220px;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.project-logo-small {
    max-width: 110px;
}

.project-digital {
    --project-accent: #33548c;
    --project-secondary: #e3b800;
    --project-soft: #fff7df;
}

.project-designer {
    --project-accent: #2067a3;
    --project-secondary: #b0dce1;
    --project-soft: #edf8fb;
}

.project-emprendedoras {
    --project-accent: #c040a0;
    --project-secondary: #ffc0e0;
    --project-soft: #fff0f8;
}

.project-aventuras {
    --project-accent: #b52b66;
    --project-secondary: #5d7f4a;
    --project-soft: #fff4f7;
}

.project-bremen {
    --project-accent: #d70000;
    --project-secondary: #f2d700;
    --project-soft: #fff8d6;
}

.project-bebe {
    --project-accent: #b84892;
    --project-secondary: #ffc9dd;
    --project-soft: #fff2f7;
}

.project-card h4 {
    margin-bottom: 12px;
}

.project-card p:not(.project-type) {
    margin-bottom: 18px;
}

.project-card a {
    color: var(--color-blue-900);
    color: color-mix(in srgb, var(--project-accent) 74%, var(--color-blue-900));
    font-weight: 700;
    margin-top: auto;
    text-decoration-color: var(--project-accent);
}

.closing-band {
    margin-top: 16px;
}

.contact-band {
    background:
        linear-gradient(135deg, rgba(255, 247, 223, .9), rgba(238, 248, 251, .78)),
        var(--color-white);
    border: 1px solid rgba(171, 202, 233, .9);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 8px;
    padding: 30px;
}

.contact-button {
    margin-top: 18px;
}

.site-footer {
    color: rgba(47, 47, 47, .78);
    display: grid;
    gap: 8px;
    font-size: .92rem;
    padding: 30px 0 110px;
}

.legal-page {
    margin-inline: auto;
    max-width: 900px;
    padding: 46px 0 18px;
    width: min(100% - 32px, 900px);
}

.legal-content {
    background: var(--color-white);
    border: 1px solid rgba(171, 202, 233, .9);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.legal-content h1 {
    max-width: 100%;
}

.legal-content h2 {
    font-size: 1.55rem;
    margin-top: 28px;
}

.legal-content p + p {
    margin-top: 10px;
}

.table-wrap {
    margin-top: 16px;
    overflow-x: auto;
}

.cookies-table {
    border-collapse: collapse;
    font-size: .94rem;
    min-width: 760px;
    width: 100%;
}

.cookies-table th,
.cookies-table td {
    border: 1px solid rgba(171, 202, 233, .9);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.cookies-table th {
    background: var(--color-blue-100);
    color: var(--color-blue-900);
}

.cookies-table code {
    background: var(--color-pink-100);
    border-radius: 4px;
    color: var(--color-blue-900);
    display: inline-block;
    padding: 2px 5px;
}

.cookie-banner {
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-blue-200);
    border-radius: 8px;
    bottom: 14px;
    box-shadow: 0 10px 30px rgba(31, 77, 122, .16);
    display: flex;
    gap: 14px;
    left: 50%;
    max-width: 920px;
    padding: 14px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    z-index: 20;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    font-size: .92rem;
}

.cookie-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
}

.cookie-actions a {
    font-size: .92rem;
}

@media (max-width: 820px) {
    .site-header,
    .hero,
    .intro-band,
    .closing-band {
        display: block;
    }

    .site-header {
        padding-bottom: 8px;
    }

    .top-nav {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-panel {
        margin-top: 30px;
    }

    .intro-band > p,
    .closing-band > p {
        margin-top: 18px;
    }

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

    .project-card {
        min-height: auto;
    }

    .cookie-banner {
        align-items: stretch;
        display: block;
    }

    .cookie-actions {
        flex-wrap: wrap;
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (max-width: 520px) {
    .site-header,
    .hero,
    .intro-band,
    .projects-section,
    .closing-band,
    .site-footer {
        width: min(100% - 24px, 1160px);
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .hero-lead {
        font-size: 1.22rem;
    }

    .button,
    button {
        width: 100%;
    }

    .cookie-actions a {
        width: 100%;
    }
}

@media print {
    .site-header,
    .cookie-banner,
    .hero-actions {
        display: none !important;
    }

    body {
        background: var(--color-white);
    }
}
