/* Projects: cuadrícula de tarjetas */
.projects-grid-page { padding-top: 1rem; }
.projects-grid-page .projects-head { margin-top: 2.5rem; margin-bottom: 1.5rem; }
.projects-grid-page .projects-title { font-size: 3vw; line-height: 1.1; margin: 0.5rem 0 1rem; }
.projects-grid-page .projects-intro { max-width: 38rem; }
.projects-grid-page .projects-intro p { opacity: .7; }
.projects-filter-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 0 0 2rem; }
.projects-filter-list button { background: none; border: 0; padding: 0.25rem 0; cursor: pointer; font-family: inherit; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; color: #000; opacity: .45; border-bottom: solid 1px transparent; }
.projects-filter-list button:hover { opacity: 1; }
.projects-filter-list button.is-active { opacity: 1; border-bottom-color: #000; }
.projects-list { margin-bottom: 3rem; }
.project-card { margin-bottom: 2.5rem; }
.project-card.is-hidden { display: none; }
.project-card-link { display: block; color: #000; }
.project-card-media { position: relative; height: 0; padding-bottom: 66%; background: #f1f2f2 center/cover no-repeat; overflow: hidden; }
.project-card-screen { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .3s; }
.project-card-link:hover .project-card-screen { opacity: .15; }
.project-card-body { padding-top: 1rem; }
.project-card-title { font-size: 20px; line-height: 1.2; margin: 0 0 0.35rem; text-transform: uppercase; font-weight: 400; }
.project-card-meta { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .5; margin: 0 0 0.5rem; }
.project-card-more { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; opacity: .5; transition: opacity .2s; }
.project-card-link:hover .project-card-more { opacity: 1; }
.projects-grid-page .footer { margin-top: 2rem; }
@media screen and (min-width: 40em) {
  .projects-list .project-card { width: 50%; padding-right: 2rem; float: left !important; }
}
@media screen and (min-width: 64em) {
  .projects-list .project-card { width: 33.333%; float: left !important; }
}
@media screen and (max-width: 39.9375em) {
  .projects-grid-page .projects-title { font-size: 28px; }
}

/* Botón "Read the case" en el proyecto y enlace al proyecto en el artículo */
.project-journal-cta { margin-top: 1.5rem; }
.project-journal-cta .button { margin-bottom: 0; }
.journal-project-link { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; margin-top: 0.75rem; }
.journal-project-link a { color: #000; opacity: .5; }
.journal-project-link a:hover { opacity: 1; }

/* FAQ en acordeón */
.faq-page .faq-intro { max-width: 36rem; }
.faq-nav { margin-bottom: 2rem; }
.faq-nav-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.faq-nav-list a { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; color: #000; opacity: .45; }
.faq-nav-list a:hover { opacity: 1; }
.faq-section { padding-top: 2.5rem; padding-bottom: 1rem; border-top: solid 1px #d9d9d9; scroll-margin-top: 2rem; }
.faq-section-title { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; margin: 0.9rem 0 1.5rem; }
.faq-item { border-bottom: solid 1px #f1f2f2; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.1rem 0; font-size: 17px; line-height: 1.35; font-weight: 400; text-transform: none; letter-spacing: 0.25px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { opacity: .6; }
.faq-icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: #000; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::before { width: 14px; height: 1px; }
.faq-icon::after { width: 1px; height: 14px; transition: transform .2s; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { padding: 0 2.5rem 1.5rem 0; }
.faq-answer p { font-size: 16px; line-height: 1.7; opacity: .75; margin-bottom: 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: #000; text-decoration: underline; }
.faq-cta { margin: 3rem 0; }
.faq-cta p { opacity: .75; }
.faq-cta a { color: #000; text-decoration: underline; }
@media screen and (max-width: 39.9375em) {
  .faq-item summary { font-size: 16px; }
  .faq-section-title { margin-bottom: 0.5rem; }
}

/* Menú móvil: altura automática según el número de opciones */
@media screen and (max-width: 39.9375em) {
  .menu { height: auto !important; min-height: 0; padding-bottom: 1rem !important; width: 100%; }
}

/* About: bloque de bio (reemplaza la sección de curadores) */
.about-bio { padding-top: 3rem; padding-bottom: 3rem; }
.about-bio h2 { margin-bottom: 2.5rem; }
.about-bio-text p { font-size: 16px; line-height: 1.7; opacity: .8; margin-bottom: 1.25rem; max-width: 40rem; }

/* Hero en español: "RESTAURANTES" alineado con la columna de "Y MARCAS" */
h1 span.offset-2b { width: 40%; margin-left: 0; float: left; }
@media screen and (max-width: 39.9375em) {
  h1 span.offset-2b { width: 100%; margin: 0; }
}

/* Selector de idioma en el menú */
.menu .lang-item .lang-switcher { font-size: 12px; letter-spacing: 1px; opacity: .6; }
.menu .lang-item .lang-switcher a { color: inherit; opacity: 1; }
.menu .lang-item .lang-switcher a:hover { opacity: .6; }
.menu .lang-item .lang-current { font-weight: 400; }
.menu .lang-item .lang-sep { margin: 0 0.35em; }

/* Contacto: formulario */
.contact-page .contact-intro { max-width: 36rem; }
.contact-body { margin-top: 1rem; margin-bottom: 1rem; }
.contact-form { max-width: 36rem; }
.contact-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-field { margin-bottom: 1.75rem; }
.contact-field label { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 400; margin-bottom: 0.4rem; opacity: .6; }
.contact-field input[type=text], .contact-field input[type=email], .contact-field textarea, .contact-field select {
  width: 100%; margin: 0; padding: 0.6rem 0; border: 0; border-bottom: solid 1px #000; border-radius: 0; background: transparent; box-shadow: none;
  font-family: inherit; font-size: 17px; line-height: 1.4; color: #000; height: auto; transition: none; }
.contact-field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1'/></svg>") no-repeat right center; padding-right: 1.5rem; cursor: pointer; }
.contact-field textarea { resize: vertical; min-height: 9rem; }
.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus { outline: none; border-bottom-width: 2px; box-shadow: none; background-color: transparent; }
.contact-form.was-validated :invalid { border-bottom-color: #c0392b; }
.contact-check label { display: flex; align-items: flex-start; gap: 0.6rem; text-transform: none; letter-spacing: 0; font-size: 15px; opacity: .8; }
.contact-check input[type=checkbox] { margin: 0.25rem 0 0; }
.contact-check a { color: #000; text-decoration: underline; }
.contact-actions { margin: 2rem 0 1rem; }
.contact-actions .button { margin-bottom: 0; min-width: 10rem; }
.contact-actions .button[disabled] { opacity: .5; cursor: default; }
.contact-status { font-size: 15px; line-height: 1.5; min-height: 1.5rem; margin: 0; }
.contact-status.is-ok { color: #000; }
.contact-status.is-error { color: #c0392b; }
.contact-direct { margin: 2.5rem 0 3rem; }
.contact-direct p { margin-bottom: 0.3rem; }
.contact-direct-label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .5; }
.contact-direct a { color: #000; text-decoration: underline; }
.contact-address { opacity: .6; font-size: 14px; }

/* Páginas legales */
.legal-updated { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .5; }
.legal-page .legal-content h2 { font-size: 20px; }
.legal-page .legal-content p, .legal-page .legal-content li { font-size: 16px; line-height: 1.7; opacity: .8; }
.footer .footer-legal { display: block; margin-top: 0.5rem; }

/* Móvil: el título no debe quedar debajo de la barra fija del menú */
@media screen and (max-width: 39.9375em) {
  #journal .journal-head { margin-top: 5.5rem; }
}
