body {
    font-family: var(--font-system);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-background);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    overflow: visible;
}

header.logo-expanded {
    padding-top: 2rem;
}

/* Divider between header and content, always visible */
header::after {
    content: '';
    width: min(65vw, 900px);
    height: 3px;
    position: absolute;
    bottom: -1.5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
}

/* Logo */
.nav-logo-img {
    position: absolute;
    left: calc(var(--page-pad) + (50 * var(--vw) - min(32.5 * var(--vw), 450px)) / 2);
    top: 50%;
    transform: translate(-50%, -50%);
    height: 3rem;
    width: auto;
}

header.logo-expanded .nav-logo-img {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    height: 7rem;
    margin-bottom: 1rem;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(65vw);
    max-width: 900px;
}

nav::before {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    height: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    left: var(--slider-left, 0);
    width: var(--slider-width, 0);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-chevron {
    display: none;
}

nav li {
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-family: var(--font-dm-sans);
    font-weight: 670;
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    padding: 1rem 0.25rem;
    display: block;
    white-space: nowrap;
}

nav a:hover {
    text-decoration: underline;
}

nav a.active {
    text-decoration: none;
    color: var(--color-background);
}

nav a.active:hover {
    color: var(--color-background);
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    right: calc(var(--page-pad) + 2rem - (100vw - min(65vw, 900px)) / 2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    display: flex;
    align-items: center;
}

.language-switcher .current-lang {
    background: none;
    border: none;
    color: var(--color-primary);
    padding: 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: lowercase;
    font-family: var(--font-system);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.language-switcher .current-lang::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.language-switcher:hover .current-lang::after,
.language-switcher:focus-within .current-lang::after {
    transform: rotate(180deg);
}

.language-switcher .current-lang:hover {
    text-decoration: underline;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--color-background);
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.language-switcher:hover .language-dropdown,
.language-switcher:focus-within .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.language-dropdown button {
    width: 100%;
    background: none;
    border: none;
    padding: 0.4rem 0.9rem;
    text-align: center;
    cursor: pointer;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-system);
    transition: background-color 0.2s ease;
    text-transform: lowercase;
    display: block;
}

.language-dropdown button:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

main {
    width: calc(65vw);
    max-width: 900px;
    margin: 8rem auto;
    min-height: calc(100vh - 24rem);
}

main #content {
    width: 100%;
}

h1 {
    font-family: var(--font-heading);
    font-size: 2.5em;
    margin: 0 0 1rem 0;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    font-stretch: 88%;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2em;
    margin: 2rem 0 1rem 0;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    font-stretch: 88%;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    font-family: var(--font-dm-sans);
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
}

p {
    font-family: var(--font-system);
    margin: 0 0 1rem 0;
    line-height: 1.75;
    font-size: 1.1rem;
    color: var(--color-text);
}

section {
    margin-bottom: 3rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Article styling for projects */
article {
    margin-bottom: 3rem;
    padding: 1.5rem;
    border-left: 4px solid var(--color-secondary);
    background-color: rgba(139, 188, 143, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
}

article:last-child {
    margin-bottom: 0;
}

article h3 {
    margin-top: 0;
}

article p {
    margin-bottom: 1rem;
}

article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0 0 0;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Calendar/Events list styling */
section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section ul li {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(139, 188, 143, 0.05);
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 0.5rem 0.5rem 0;
}

section ul li:last-child {
    margin-bottom: 0;
}

section ul li strong {
    font-size: 1.3rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Contact form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

form label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-accent);
    border-radius: 0.25rem;
    font-family: var(--font-system);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form button {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.25rem;
    font-family: var(--font-system);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

form button:hover {
    background-color: var(--color-secondary);
}

/* ── About (landing) page ───────────────────────────── */

body.about-page,
body.calendar-page,
body.projects-page,
body.gallery-view,
body.materials-view {
    /* Margin and column gutter share one fluid value (Figma: 5 columns, 20px at 768px) */
    --about-gutter: clamp(1rem, calc(2.6 * var(--vw)), 2.25rem);
}

body.about-page main,
body.calendar-page main,
body.projects-page main,
body.gallery-view main,
body.materials-view main {
    width: auto;
    max-width: none;
    margin-left: calc(var(--page-pad) + var(--about-gutter));
    margin-right: calc(var(--page-pad) + var(--about-gutter));
}

body.about-page header::after,
body.calendar-page header::after,
body.projects-page header::after,
body.gallery-view header::after,
body.materials-view header::after {
    width: calc(100% - 2 * (var(--page-pad) + var(--about-gutter)));
}

.about-intro,
.about-governance {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: var(--about-gutter);
    row-gap: 1.5rem;
    align-items: start;
}

.about-intro .about-photo {
    grid-column: 2 / span 3;
}

.about-intro .about-projects {
    grid-column: 5;
}

.about-governance .about-photo:first-child {
    grid-column: 1 / span 2;
}

.about-governance p {
    grid-column: 3;
}

.about-governance .about-photo:last-child {
    grid-column: 4 / span 2;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
}

.about-intro p,
.about-governance p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
    hyphens: auto;
}

.about-project-list {
    list-style: disc;
    margin: 0.75rem 0 0 1.1rem;
    padding: 0;
    font-size: 0.9rem;
}

.about-project-list li,
.collaborator-logos li {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.about-project-list li {
    margin-bottom: 0.5rem;
}

.about-project-list a {
    font-weight: 600;
}

.about-collaborators {
    background-color: var(--color-primary);
    color: #fff;
    margin: 3rem calc(-1 * var(--about-gutter));
    padding: 3.5rem var(--about-gutter) 4rem;
}

.about-collaborators h2 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 2.5rem 0;
}

.collaborator-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem clamp(1.5rem, calc(4 * var(--vw)), 4rem);
}

.collaborator-logos + .collaborator-logos {
    margin-top: 3rem;
}

.collaborator-logos li {
    margin: 0;
    display: flex;
    align-items: center;
}

.collaborator-logos img {
    display: block;
    width: auto;
    height: auto;
    max-height: clamp(3rem, calc(5 * var(--vw)), 4.5rem);
    max-width: clamp(8rem, calc(14 * var(--vw)), 13rem);
}

/* Two columns between the one-column mobile layout and the five-column desktop layout */
@media (min-width: 681px) and (max-width: 1100px) {
    .about-intro,
    .about-governance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-intro .about-intro-text {
        grid-column: 1;
        grid-row: 1;
    }

    .about-intro p:not(.about-intro-text) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .about-intro .about-photo {
        grid-column: 2;
        grid-row: 1;
    }

    .about-governance p {
        grid-column: 1;
        grid-row: 1;
    }

    .about-governance .about-photo:first-child {
        grid-column: 2;
        grid-row: 1;
    }

    .about-governance .about-photo:last-child {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

.about-closing {
    margin-top: 3rem;
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
}

/* ── Projects Page ──────────────────────────────────── */

.projects-section {
    margin-bottom: 3rem;
}

.projects-section:last-child {
    margin-bottom: 0;
}

.projects-section[hidden] {
    display: none;
}

/* Mirrors the main nav: same width, type and sliding highlight */
.projects-tabs {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(65vw, 900px);
    margin: 0 auto 2rem;
}

.projects-tabs::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--slider-left, 0);
    width: var(--slider-width, 0);
    height: 1.8rem;
    transform: translateY(-50%);
    background-color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-tab {
    position: relative;
    z-index: 1;
    display: block;
    padding: 1rem 0.25rem;
    border: 0;
    background: none;
    color: var(--color-primary);
    font-family: var(--font-dm-sans);
    font-size: 1.2rem;
    font-weight: 670;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.projects-tab[hidden] {
    display: none;
}

.projects-tab:hover,
.projects-tab:focus-visible {
    text-decoration: underline;
}

.projects-tab.active,
.projects-tab.active:hover {
    color: var(--color-background);
    text-decoration: none;
}

/* Responsive square grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

/* Individual project card */
.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.project-card.filler {
    pointer-events: none;
}

.project-card:hover {
    background-color: rgba(139, 188, 143, 0.12);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f5f5f5;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}



.card-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-title {
    font-family: var(--font-dm-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    line-height: 1.3;
}

.card-desc {
    font-family: var(--font-system);
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Project Modal ──────────────────────────────────── */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-modal.hidden {
    display: none;
}

.project-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.project-modal-dialog {
    position: relative;
    width: calc(65vw);
    max-width: 900px;
}

.project-modal-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: var(--color-background);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2.5rem 2.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.visible .project-modal-content,
.project-modal.visible .modal-close {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 0;
    left: calc(100% + 0.75rem);
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-primary);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transform: translateY(20px);
    transition: color 0.2s ease, transform 0.3s ease;
    z-index: 1;
}

.modal-close:hover {
    color: var(--color-secondary);
}

.modal-project-title {
    font-family: var(--font-heading);
    font-size: 3em;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.01em;
    font-stretch: 88%;
}

.modal-project-title:first-child {
    padding-top: 2.5rem;
}

.modal-project-subtitle {
    margin: -1rem 0 1.5rem;
    color: var(--color-text-light);
    font-size: 1rem;
}

.modal-hero-img {
    width: calc(100% + 5rem);
    max-width: none;
    margin: 0 -2.5rem 2rem;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    display: block;
}

.modal-project-subtitle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-instagram {
    display: inline-flex;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.modal-instagram:hover {
    opacity: 0.7;
}

.modal-description .project-video {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 1.25rem 0;
}

.modal-description .project-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-description {
    font-family: var(--font-system);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.modal-description p {
    margin: 0 0 1rem;
}

.modal-description ul,
.modal-description ol {
    margin: 0.5rem 0 1rem;
    padding-left: 1.5rem;
    text-align: left;
}

.modal-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.75rem auto;
}

.modal-description .project-content-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
    text-align: left;
}

.modal-description .project-content-split p {
    margin: 0;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.modal-gallery-item {
    margin: 0;
}

.modal-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-gallery-item figcaption {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    text-align: left;
}

footer {
    background: var(--color-primary);
    color: white;
    margin-top: 4rem;
    padding: 3.5rem 0;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 4rem;
    width: min(900px, calc(100vw - 2 * var(--about-gutter, 2rem)));
}

.footer-column {
    min-width: 0;
}

.footer-contact h3 {
    margin: 0 0 0.5rem;
    line-height: 1;
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    grid-column: 3;
    grid-row: 1;
}

.footer-contact p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: white;
}

.footer-contact a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    margin: 0.25rem 0 0.25rem 0
}

.footer-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-map img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-map-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.footer-map-open:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.footer-map-dialog {
    position: fixed;
    width: min(92vw, 1100px);
    max-width: none;
    max-height: 92vh;
    padding: 2.5rem 1rem 1rem;
    overflow: auto;
    border: 0;
    background: var(--color-primary);
}

.footer-map-dialog[open] {
    margin: auto;
}

.footer-map-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.footer-map-dialog-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.footer-map-dialog > img {
    width: 100%;
    max-height: calc(92vh - 3.5rem);
    object-fit: contain;
}

.footer-map-close {
    position: absolute;
    top: 0.35rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.footer-privacy {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
}

.footer-privacy-separator {
    margin: 0 0.6rem;
    opacity: 0.8;
}

.footer-stats {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

.footer-stats h3 {
    margin: 0 0 0.5rem;
    line-height: 1;
    color: white;
}

.server-stats {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.server-stats div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.server-stats div[hidden] {
    display: none;
}

.server-stats dt,
.server-stats dd {
    margin: 0;
    color: white;
}

.server-stats dd {
    font-weight: 600;
    white-space: nowrap;
}

.server-stats-source {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.stats-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffd54a;
}

.stats-dot[data-source="grid"] {
    background: #b8b8b8;
}

.server-stats-note {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.7;
    color: white;
}

.footer-privacy-trigger {
    padding: 0.25rem 0;
    border: 0;
    background: transparent;
    color: white;
    font: inherit;
    font-size: 0.95rem;
    text-transform: lowercase;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.footer-privacy-dialog {
    position: fixed;
    width: min(90vw, 980px);
    max-width: none;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--color-background);
    color: var(--color-text);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.28);
}

.footer-privacy-dialog[open] {
    margin: auto;
}

.footer-privacy-dialog::backdrop {
    background: rgba(0, 0, 0, 0.68);
}

.footer-privacy-heading {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 2rem 3.5rem 1rem 2.5rem;
    background: var(--color-background);
    color: var(--color-text);
}

.footer-privacy-heading h2 {
    margin: 0;
    color: inherit;
    font-size: 1.2rem;
    text-align: left;
    text-transform: none;
}

.footer-privacy-heading .footer-map-close {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
}

.footer-privacy-content {
    max-height: calc(90vh - 5rem);
    padding: 1rem 2.5rem 2.5rem;
    overflow-y: auto;
    text-align: left;
}

.footer-privacy-content p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

.footer-privacy-content hr {
    width: 3rem;
    margin: 1.5rem 0;
    border: 0;
    border-top: 2px solid var(--color-accent);
}

.footer-privacy-content h3 {
    margin: 1.5rem 0 0.75rem;
}

.footer-privacy-content a {
    color: var(--color-primary);
    text-underline-offset: 0.15em;
}

.footer-map {
    grid-column: 2;
    grid-row: 1;
}

.instagram-link {
    display: inline-block;
    line-height: 1;
}

.social-icons {
    display: flex;
    justify-content: left;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    align-items: center;
}

.mail-link,
.phone-link,
.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mail-link img,
.phone-link img,
.instagram-link img {
    display: block;
    width: 18px;
    height: 18px;
}

.phone-link img {
    transform: translateY(0px);
}


.instagram-link svg {
    transition: transform 0.3s ease;
}

.instagram-link:hover svg {
    transform: scale(1.1);
}