* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, 'Noto Sans', sans-serif;
    background: #0b0b0b;
    color: #eaeaea;
}

header,
footer {
    background: #000;
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
}

.site-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

/* HEADER */
.header-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centra el logo */
  padding: 12px 20px;
}

/* Logo centrado */
.site-logo{
  max-height: 50px;
  width: auto;
  display: block;
}

/* Contenedor de acciones a la derecha */
.header-actions{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Botón About */
.about-btn{
  position: static;           /* IMPORTANTÍSIMO: quita absolute */
  transform: none;            /* quita transform viejo */
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.about-btn:hover{ border-color: rgba(255,255,255,0.5); }
.about-btn:focus{ outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }

/* Link Contact con el mismo look */
.contact-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.contact-btn:hover{ border-color: rgba(255,255,255,0.5); }
.contact-btn:focus{ outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }

/* Responsive */
@media (max-width: 900px){
  .header-actions{
    right: 12px;
    gap: 10px;
  }
  .about-btn,
  .contact-btn{
    padding: 7px 10px;
    font-size: 13px;
  }
}


/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

/* .card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
} */

.card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    background-color: #3a3a3a;
    /* gris más claro al hacer hover */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.thumb {
    aspect-ratio: 16 / 9;
    background: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card .pad {
    padding: 12px 14px;
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #fff;
}

.card p {
    margin: 0;
    color: #bdbdbd;
    font-size: 13px;
}

/* MODAL */
.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: saturate(1.2) blur(2px);
    z-index: 1000;
}

.modal-dialog {
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #0f0f0f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 22px;
    background: transparent;
    border: 0;
    color: #e5e5e5;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 999px;
}

.video {
    position: relative;
    padding-top: 56.25%;
}

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

.modal-body {
    padding: 16px 18px;
}

.modal-title {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.modal-excerpt {
    color: #c9c9c9;
    font-size: 14px;
}

.modal-body.about a { color: #fff; text-decoration: underline; }
.modal-body.about strong { color: #fff; }

footer .container {
    display: flex;
    justify-content: center;
    /* centra horizontal */
    align-items: center;
    /* centra vertical */
    height: 60px;
    /* opcional: altura del footer */
}

.seo-intro { max-width: 900px; line-height: 1.7; color: #ccc; }
.seo-intro h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
.seo-intro a, .page-content a { color: #ffcc00; }
.footer-content { height: auto !important; min-height: 100px; display: flex; justify-content: space-between !important; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-content p { margin: 6px 0; color: #bbb; }
.footer-content nav { display: flex; gap: 18px; flex-wrap: wrap; }
.page-content { max-width: 850px; min-height: 55vh; line-height: 1.75; color: #ccc; }
.page-content h1, .page-content h2 { color: #fff; line-height: 1.25; }
.page-content h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-content h2 { margin-top: 2rem; }
.page-image { display: block; width: min(100%, 760px); max-height: 440px; object-fit: cover; border-radius: 12px; margin: 24px auto; }

.centertext {
    display: flex;
        justify-content: center;
        /* centra horizontal */
        align-items: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

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


/* FILTER BAR */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 18px;
    border: none;
    background: #333;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

.filter-btn:hover {
    background: #555;
}

.filter-btn.active {
    background: #ffcc00;
    color: black;
    font-weight: bold;
}

#christmas-effect {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
}

#christmas-effect img {
    position: absolute;
    top: -60px;
    will-change: transform;
}

body.modal-open #christmas-effect {
    opacity: 0.3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.about-btn,
.contact-btn {
  padding: 8px 16px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
}

/* ABOUT MODAL LAYOUT */
.about-layout{
  display: flex;
  gap: 30px;
  align-items: center;
}

/* FOTO */
.about-photo{
  flex: 0 0 220px;
  aspect-ratio: 1 / 1; /* cuadrado perfecto */
  overflow: hidden;
  border-radius: 12px;
  background: #1a1a1a;
}

.about-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.about-text{
  flex: 1;
}

.about-text p{
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .about-layout{
    flex-direction: column;
    text-align: center;
  }

  .about-photo{
    width: 180px;
  }
}

.about-btn,
.contact-btn {
  font-family: inherit;        /* misma fuente que el body */
  font-size: 14px;             /* mismo tamaño */
  font-weight: 500;            /* mismo peso */
  letter-spacing: 0.5px;       /* opcional, más limpio */
  
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.about-btn:hover,
.contact-btn:hover {
  border-color: rgba(255,255,255,0.5);
}

/* HEADER BASE (logo centrado, acciones a la derecha) */
.header-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* centra el logo */
  padding: 12px 20px;
}

.header-actions{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
}

.mobile-menu{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: none; /* por defecto oculto (solo móvil) */
}

/* Botones consistentes */
.about-btn,
.contact-btn,
.menu-btn{
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.about-btn:hover,
.contact-btn:hover,
.menu-btn:hover{
  border-color: rgba(255,255,255,0.5);
}

.about-btn:focus,
.contact-btn:focus,
.menu-btn:focus{
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

/* Panel desplegable móvil */
.mobile-panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 160px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  display: none;
  z-index: 2000;
}

.mobile-panel.is-open{ display: block; }

.mobile-item{
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.mobile-item:hover{
  background: rgba(255,255,255,0.08);
}

/* Responsive: en móvil ocultamos acciones y mostramos menú */
@media (max-width: 900px){
  .header-actions{ display: none; }
  .mobile-menu{ display: block; }
  .mobile-menu{ right: 12px; }
}

/* LANG DROPDOWN */
.lang-wrap{ position: relative; display: inline-flex; }

.lang-btn{
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  min-width: 44px;
}

.lang-btn:hover{ border-color: rgba(255,255,255,0.5); }
.lang-btn:focus{ outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }

.lang-panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  display: none;
  z-index: 2600;
}

.lang-panel.is-open{ display: block; }

.lang-item{
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.lang-item:hover{ background: rgba(255,255,255,0.08); }

.mobile-sep{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 8px 6px;
}

@media (max-width: 444px){
  .header-inner{
    justify-content: flex-start; /* mueve logo a la izquierda */
  }

  .site-logo{
    margin-left: 12px; /* pequeño respiro visual */
  }
}

/* Visual landing hero, service cards and funded footer */
.seo-intro { max-width: 1200px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 7vw, 100px); align-items: center; padding-top: clamp(48px, 8vw, 100px); padding-bottom: clamp(50px, 8vw, 100px); }
.hero-copy { max-width: 660px; }
.hero-copy h1 { max-width: 640px; font-size: clamp(2.4rem, 5.3vw, 5rem); letter-spacing: -.045em; line-height: 1.02; margin: 12px 0 22px; }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 570px; line-height: 1.75; color: #b8b8b8; }
.eyebrow { color: #ffcc00; font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-button { min-height: 48px; padding: 12px 18px; border: 1px solid #424242; border-radius: 999px; color: #fff !important; text-decoration: none; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.hero-button:hover { transform: translateY(-3px); background: #1c1c1c; }
.hero-button-primary { color: #111 !important; background: #ffcc00; border-color: #ffcc00; }
.hero-button-primary:hover { background: #ffdb4d; }
.hero-button span { margin-left: 8px; }
.hero-tags { display: flex; gap: 9px; flex-wrap: wrap; list-style: none; padding: 0; margin: 30px 0 0; }
.hero-tags li { color: #aaa; border: 1px solid #292929; border-radius: 999px; padding: 7px 11px; font-size: .8rem; }
.filter-bar { margin: 0 auto; padding: 22px 18px; background: #111; border-top: 1px solid #191919; border-bottom: 1px solid #242424; }
.filter-btn { padding: 12px 23px; border-radius: 9px; font-weight: 600; }
.footer-top { max-width: 1150px; height: auto !important; display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 40px; align-items: start; padding-top: 46px; padding-bottom: 42px; }
.footer-brand img { width: min(240px, 100%); height: auto; }
.footer-brand p, .footer-bottom p { color: #aaa; font-size: .88rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column h2 { margin: 0 0 7px; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 500; color: #fff; }
.footer-column h2::after { content: ''; display: block; width: 34px; height: 2px; margin-top: 13px; background: #ffcc00; }
.footer-column a { color: #c9c9c9; font-size: .94rem; }
.footer-column a:hover { color: #ffcc00; }
.footer-bottom { max-width: none; min-height: 108px; height: auto !important; background: #111; border-top: 1px solid #252525; display: flex; justify-content: space-between !important; gap: 30px; align-items: center; padding: 20px max(20px, calc((100vw - 1150px)/2)); }
.grant-logos { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 3vw, 38px); flex-wrap: wrap; }
.grant-logos img { display: block; width: auto; height: auto; max-width: min(210px, 26vw); max-height: 58px; object-fit: contain; background: #f4f4f4; padding: 5px 8px; border-radius: 4px; }
.page-content { max-width: 1150px; padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(50px, 8vw, 100px); }
.page-content > h1 { max-width: 1000px; font-size: clamp(2.35rem, 5vw, 4.5rem); letter-spacing: -.04em; margin: 14px 0 20px; }
.page-lead { max-width: 780px; font-size: 1.15rem; color: #bdbdbd; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 42px 0; }
.service-card { position: relative; min-height: 210px; padding: 28px; overflow: hidden; background: linear-gradient(135deg, #181818, #101010); border: 1px solid #292929; border-radius: 16px; transition: transform .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #6d5c15; }
.service-card .service-number { color: #ffcc00; font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.service-card h2 { font-size: 1.35rem; margin: 24px 0 8px; }
.service-card p { margin: 0; line-height: 1.7; color: #aaa; }
.contact-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; margin: 40px 0; padding: clamp(24px, 5vw, 50px); background: linear-gradient(130deg, #1a1a1a, #101010); border: 1px solid #2a2a2a; border-radius: 18px; }
.contact-panel img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; filter: saturate(.75); }
.contact-mail { display: inline-flex; align-items: center; gap: 12px; margin: 16px 0; padding: 14px 18px; border-radius: 999px; background: #ffcc00; color: #111 !important; text-decoration: none; font-weight: 700; overflow-wrap: anywhere; }
.page-mobile-nav { min-width: 0; width: max-content; display: none; align-items: center; gap: 4px; padding: 6px; background: #0f0f0f; border: 1px solid #303030; border-radius: 999px; }
.page-mobile-nav a { padding: 8px 10px; color: #fff; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.page-mobile-nav a[aria-current="page"] { color: #ffcc00; }
@media (max-width: 900px) { .page-mobile-nav { display: flex; } }
@media (max-width: 760px) {
  .seo-intro { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column-reverse; padding: 22px 20px; }
  .grant-logos { justify-content: flex-start; gap: 18px; }
  .grant-logos img { max-width: min(180px, 42vw); max-height: 46px; }
  .service-grid, .contact-panel { grid-template-columns: 1fr; }
  .contact-panel img { max-height: 320px; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 34px 24px; }
  .footer-brand { grid-column: auto; }
  .footer-column { gap: 10px; }
  .footer-column h2 { margin-bottom: 4px; }
  .footer-bottom { align-items: center; text-align: center; gap: 14px; padding: 20px 16px; }
  .grant-logos { width: 100%; justify-content: center; gap: 14px; }
  .grant-logos img { max-width: min(145px, 40vw); max-height: 36px; }
  .footer-bottom p { margin: 0; }
  .page-content > h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .contact-mail { font-size: .86rem; }
}
@media (max-width: 410px) {
  .page-mobile-nav { gap: 0; padding: 4px; }
  .page-mobile-nav a { padding: 7px 6px; font-size: .7rem; }
  .site-logo { max-height: 42px; }
}

/* Last layout pass: remove the decorative hero panel and stabilize footer columns */
.seo-intro { display: block; max-width: 1200px; }
.hero-copy { max-width: 960px; }
.hero-copy h1 { max-width: 940px; }
.hero-copy > p:not(.eyebrow) { max-width: 780px; }
footer .container.footer-top { width: 100%; max-width: 1150px; height: auto !important; display: grid; grid-template-columns: 1.2fr .9fr .9fr; align-items: start; justify-content: initial; }
footer .container.footer-top > .footer-column { align-self: start; margin: 0; }
footer .container.footer-bottom { width: 100%; max-width: none; height: auto !important; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grant-logos img { background: transparent; padding: 0; border-radius: 0; }
@media (max-width: 760px) {
  footer .container.footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  footer .container.footer-top > .footer-brand { grid-column: 1 / -1; }
  footer .container.footer-bottom { align-items: flex-start; justify-content: center; flex-direction: column-reverse; gap: 18px; padding: 22px 20px; }
  .grant-logos { width: 100%; justify-content: flex-start; gap: 16px; }
  .grant-logos img { max-width: min(160px, 42vw); max-height: 40px; }
}
@media (max-width: 560px) {
  footer .container.footer-top { grid-template-columns: 1fr; gap: 24px; padding: 34px 24px; }
  footer .container.footer-top > .footer-brand { grid-column: auto; }
  footer .container.footer-top > .footer-column { width: 100%; }
  footer .container.footer-bottom { align-items: center; text-align: center; padding: 22px 16px; }
  .grant-logos { justify-content: center; gap: 14px; }
  .grant-logos img { max-width: min(142px, 40vw); max-height: 36px; }
  .footer-bottom p { margin: 0; }
}


/* ================================
   BANDERAS DEL SELECTOR DE IDIOMA
================================ */
.flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  min-width: 22px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  flex: 0 0 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}

/* España */
.flag-es {
  background: linear-gradient(
    to bottom,
    #AA151B 0%, #AA151B 25%,
    #F1BF00 25%, #F1BF00 75%,
    #AA151B 75%, #AA151B 100%
  );
}

/* Catalunya - senyera */
.flag-ca {
  background: repeating-linear-gradient(
    to bottom,
    #FCDD09 0, #FCDD09 3px,
    #DA121A 3px, #DA121A 5px
  );
}

/* Inglaterra - cruz de San Jorge */
.flag-en {
  background: #fff;
}

.flag-en::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  background: #CE1124;
}

.flag-en::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
  background: #CE1124;
}

.lang-btn,
.lang-item,
.mobile-lang {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.lang-btn {
  justify-content: center;
}

.lang-item,
.mobile-lang {
  justify-content: flex-start;
}

/* =========================================================
   HEADER - LOGO + NAVEGACIÓN CENTRADOS COMO UN SOLO BLOQUE
   ========================================================= */

.header-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 45px;

  padding: 12px 20px;
}


/* LOGO */

.site-logo {
  display: block;
  width: auto;
  max-height: 50px;

  flex: 0 0 auto;
  margin: 0;
}


/* BOTONES */

.header-actions {
  position: static;
  transform: none;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  flex: 0 0 auto;
}


/* BOTONES INDIVIDUALES */

.about-btn,
.contact-btn,
.menu-btn,
.lang-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;

  padding: 8px 14px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);

  background: transparent;
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.about-btn:hover,
.contact-btn:hover,
.menu-btn:hover,
.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   ENTRE 1385px Y 900px
   Reducimos progresivamente el espacio entre logo y botones
   ========================================================= */

@media (max-width: 1200px) {

  .header-inner {
    gap: 30px;
  }

  .header-actions {
    gap: 8px;
  }

  .about-btn,
  .contact-btn,
  .lang-btn {
    padding-left: 11px;
    padding-right: 11px;
  }
}


@media (max-width: 1000px) {

  .header-inner {
    gap: 20px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .about-btn,
  .contact-btn,
  .lang-btn {
    padding-left: 9px;
    padding-right: 9px;
  }
}


/* =========================================================
   A PARTIR DE 900px -> MENÚ MÓVIL
   ========================================================= */

@media (max-width: 900px) {

  .header-actions {
    display: none;
  }

  .header-inner {
    position: relative;

    justify-content: flex-start;

    padding-left: 20px;
    padding-right: 20px;

    gap: 0;
  }

  .site-logo {
    max-height: 50px;
    margin: 0;
  }

  .mobile-menu {
    display: block;

    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);
  }
}


@media (max-width: 444px) {

  .header-inner {
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-logo {
    max-height: 42px;
    margin-left: 12px;
  }
}