@font-face {
  font-family: "Abel" !important;
  src: url("assets/fonts/Abel-Regular.ttf") format("truetype") !important;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Spacing (margin y padding) */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }

.mt-0 { margin-top: 0rem; } .mb-0 { margin-bottom: 0rem; }
.ml-0 { margin-left: 0rem; } .mr-0 { margin-right: 0rem; }
.mt-1 { margin-top: 0.25rem; } .mb-1 { margin-bottom: 0.25rem; }
.ml-1 { margin-left: 0.25rem; } .mr-1 { margin-right: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }   .mb-2 { margin-bottom: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }  .mr-2 { margin-right: 0.5rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

.pt-0 { padding-top: 0rem; } .pb-0 { padding-bottom: 0rem; }
.pl-0 { padding-left: 0rem; } .pr-0 { padding-right: 0rem; }
.pt-1 { padding-top: 0.25rem; } .pb-1 { padding-bottom: 0.25rem; }
.pl-1 { padding-left: 0.25rem; } .pr-1 { padding-right: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }   .pb-2 { padding-bottom: 0.5rem; }
.pl-2 { padding-left: 0.5rem; }  .pr-2 { padding-right: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }   .pb-3 { padding-bottom: 0.75rem; }
.pl-3 { padding-left: 0.75rem; }  .pr-3 { padding-right: 0.75rem; }
.pt-4 { padding-top: 1rem; }   .pb-4 { padding-bottom: 1rem; }
.pl-4 { padding-left: 1rem; }  .pr-4 { padding-right: 1rem; }

/* Display y Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: bold; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }

/* Width / Height */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-1\/4 { width: 25%; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: 0.375rem; }

/* Utilities */
.overflow-hidden { overflow: hidden; }
.overflow-scroll { overflow: scroll; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.cursor-pointer { cursor: pointer; }
.s-about__content strong {
    color: rgba(255, 255, 255, 0.4)
}
.no-select {
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.btn-small {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    line-height: 2;
	height: min-content;
	margin: 0;

    font-family: var(--font-1);
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .25em;
}

.s-header__nav-wrap {
	width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.s-header__nav {
	justify-self: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100rem;
	padding-inline: 3rem;
}

.s-header__menu {
	width: fit-content;
}

.language-switcher {
	display: flex;
}

.language-switcher a {
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
	padding-inline: 1rem;
}

.language-switcher a:hover {
    opacity: 0.7;
}

/* Línea animada inferior para el lenguage activo */
.language-switcher a.active::after {
    content: "";
    position: absolute;
	justify-self: anchor-center;
    left: 0;
    bottom: 1.7rem;
    height: 4px;
    width: 60%;
    background-color: #ffffff80;
    border-radius: 1px;
    transition: transform 0.5s ease;
}

.language-switcher a:not(.active)::after {
	content: "";
	position: absolute;
	transform: scaleX(0);
}

.language-switcher a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-header {
    --header-height: 6.8rem;
    height: var(--header-height);
    align-content: center;
    z-index: 100;
    width: min-content;
    background-color: transparent;
    position: absolute;
}
.language-switcher.language-switcher-mobile {
  display: none;
  border-radius: 5px;
  padding: 0.3rem 0.8rem;
  margin-left: 2rem;
  width: min-content;
  height: 3.5rem;
  align-items: center;
}
.language-switcher.language-switcher-mobile a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

.language-switcher.language-switcher-mobile a:after {
    bottom: 0rem;
}
.s-hero__bg {
    background-image: url("../images/avatar_blackwhite.jpg") !important;
}

.avatar_wrapper {
  width: 100%;
  height: min-content;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar_wrapper img {
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

.s-about__content {
    text-align: justify;
}

/* RESUME */

.s-resume {
	padding-top: 16rem;
	padding-bottom: 16rem;
}

.section-header-allcaps {
	text-decoration: underline;
	text-decoration-color: #11abb0;
	text-decoration-thickness: 2px;
	text-underline-offset: .8em;
	text-decoration-skip-ink: none;
	letter-spacing: 0.05em;
}

.section-header-allcaps::after {
	content: none !important;
	display: none !important;
}


.resume-block-light {
	margin-bottom: 1rem;
}

.featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-list li {
  margin-bottom: 0.5rem;
  color: #222; /* tono neutro */
}

.featured-list .year {
  font-weight: 600;
  color: #555;
}

.featured-list strong {
  font-weight: 700;
  color: #111;
}

.featured-list em {
  font-style: italic;
  color: #444;
}

.featured-list .details {
  color: #666;
}

.about-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 5rem;
  margin-bottom: 0rem;
}

.about-buttons .btn {
  flex: 1;
  text-align: center;
}

/* WORKS */
.s-portfolio {
	padding-top: 10rem;
	padding-bottom: 10rem;
}

.portfolio-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.works-categories {
    display: flex;
	justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}


.instrument-tag {
	cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
    line-height: 2;
	height: min-content;
	margin: 0;

    font-family: var(--font-1);
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .35em;
    color: var(--color-btn-text);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: var(--border-radius);
    background-color: var(--color-btn);
    border: 0.2rem solid var(--color-btn);
}

.instrument-tag.active
{
    background-color: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
    color: var(--color-btn-hover-text);
    outline: 0;
}

/* Work items */
#performances-header {
    margin-top: 4rem;
}
.work-item {
    aspect-ratio: 1 / 1;
}
.hover-content {
    z-index: 2;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.folio-item:hover .hover-content {
    opacity: 1;
    visibility: visible;
}

.folio-item img {
    object-fit: cover;
}
.hover-title {
    color: black;
    font-size: 12px;
    line-height: 2rem;
    font-style: italic;
    background-color: rgba(230, 230, 230, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
}
.modal-popup {
    width: 92%;
    max-height: 80vh;
    overflow-y: auto;
    justify-self: center;
}
.modal-popup img {
    max-height: 45rem;
    object-fit: contain;
}
.modal-popup iframe {
    margin-bottom: 2rem;
}

.modal-popup iframe.youtube-embed {
    height: 38rem;
}

.modal-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.modal-popup-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.modal-popup-title h5 {
    margin-bottom: 0rem;
}

.modal-popup .modal-popup-date {
    color: var(--color-text-light);
    font-size: 1.4rem;
}

.modal-popup-header .modal-popup__cat {
    margin-bottom: 0rem;
}

/* 🔧 Fix reproductor Spotify */
.spotify-embed {
  display: block;
  width: 100% !important;
  height: 12rem !important;
  border: none;
}

.vimeo-embed-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
}

.vimeo-embed-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}
/* GALLERY */
section.s-gallery {
    padding-top: var(--vspace-5);
    padding-bottom: var(--vspace-3_5);
    color: rgba(255, 255, 255, 0.8);
    background-color: var(--cwhiteolor-gray-19);
    overflow: hidden;
    position: relative;
}

.s-gallery__header {
    text-align: center;
    margin-bottom: var(--vspace-2);
}

.s-gallery__header h3 {
    margin-top: 0;
    color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 200px;
  gap: 10px;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-thumb:nth-child(3n) {
  grid-row: span 2; /* algunas más altas */
}

/* PRESS */
.press-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 2rem;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
    height: 30rem;
    user-select: none;
    cursor: pointer;
}

.press-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(.97);
}

.press-card__image img {
    width: 80%;
    max-height: 10rem;
    object-fit: contain;
    padding-top: 2rem;
    padding-bottom: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
    margin-bottom: 0;
}

.press-card__image.filter img{
    filter: brightness(0) invert(1);
}

.press-card__source {
    color: var(--color-2);
    font-weight: 700;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.press-card__date {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.press-card__excerpt {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.5;
    color: #f1f1f1;
    max-width: 90%;
    margin: 0 auto;
    text-overflow: ellipsis;
}




/* Contact */
.contact-block__content{
    width: 110%;
}

.s-contact__content .contact-infos .column{
    margin-left: 0;
}
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.custom-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.custom-contact-form label {
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.custom-contact-form input,
.custom-contact-form textarea {
    background-color: white;
    border: 1px solid #555;
    padding: 12px;
    font-size: 14px;
    border-radius: 3px;
    transition: border 0.3s ease;
    margin-bottom: 1rem;
    min-width: 100%;
}

.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #888;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: #00c2b2;
}

.custom-contact-form input[type="submit"] {
    background: var(--color-btn-primary);
    border-color: var(--color-btn-primary);
    color: var(--color-btn-primary-text);   
    padding: 0rem;
    --btn-height: var(--vspace-btn);
    display: inline-block;
    font-family: var(--font-1);
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .35em;
    height: var(--btn-height);
    line-height: calc(var(--btn-height) - .4rem);
    padding: 0 3.6rem;
    margin: 0 .4rem 1.6rem 0;
    color: var(--color-btn-text);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: var(--border-radius);
}

.form-response {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.form-response.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-response.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* RESPONSIVE */
@media screen and (max-width: 1200px) {
    .avatar_wrapper img {
        width: 20rem;
        height: 20rem;
        border-width: 1.4rem;
    }
}



@media screen and (max-width: 1100px) {
	.portfolio-header-content{
		flex-direction: column;
	}
	.avatar_wrapper img {
		width: 15rem;
        height: 15rem;
		border-width: 1.2rem;
    }
}

@media screen and (max-width: 900px) {
    .about-buttons {
        flex-direction: column;
    }

}


@media screen and (max-width: 800px) {
	.avatar_wrapper img {
		width: 30rem;
		height: 30rem;
		border-width: 1.2rem;
		border-width: 1.2rem;
		margin-bottom: 7rem;
        display: flex;

	}
    .language-switcher.language-switcher-mobile {
        display: flex;
    }
    .s-header.sticky {
        background-color: transparent !important;
    }
}


@font-face {
  font-family: "Abel";
  src: url("../assets/fonts/Abel-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6,
.section-header-allcaps,
.press-card__source,
nav li a {
  font-family: "Abel", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
