
@font-face {
    font-family: 'Harmony';
    src: url('../fonts/fonts/harmony-webfont.woff2') format('woff2'),
         url('../fonts/fonts/harmony-webfont.woff') format('woff'),
         url('../fonts/fonts/harmony-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Harmony', sans-serif;
}

body {
    font-family: 'Harmony', sans-serif;
    background: #fff url('../imgs/fons-inmoteca.webp') top;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
}

.topbar {
    background: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.topbar a {
    text-decoration: none;
    color: #333;
}

.menu select, .menu a {
    margin-left: 10px;
    margin-bottom: 10px;
}

.logo {
    text-align: center;
    margin: 20px 0;
}

.logo img {
    height: auto;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

main h1 {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

main p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.5;
}

.divider img {
    width: 100%;
    margin: auto;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    background: white;
    border-top: 1px solid #ddd;
}

footer .legal {
    margin-top: 10px;
}

footer a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}

.contacto {
    font-size: large;
    color: #754e05;
}

.mail {
    color: #754e05;
}

@media (max-width: 600px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        margin-top: 10px;
    }

    main h1 {
        font-size: 18px;
    }

    main p {
        font-size: 15px;
    }
}

/* ===== HEADER (quienes-somos): igual que index ===== */
:root { --logo-max-h: 80px; }
@media (max-width: 600px){ :root { --logo-max-h: 56px; } }

/* mismo layout de topbar que en index */
.topbar{
  background: rgba(255,255,255,0.76) !important; /* igual que index */
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.topbar > a { justify-self: start; }
.menu{ justify-self:end; display:flex; align-items:center; gap:12px; }
.menu select, .menu a{ margin-bottom:0 !important; }

.logo{ margin: 20px 0; text-align:center; }
.logo img{
  max-height: var(--logo-max-h) !important;
  height: auto;
}

@media (max-width:600px){
  .topbar{
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 8px;
  }
  .topbar > a { justify-self: center; }
  .menu { justify-self: center; }
}

/* ===== Selector de idioma (quienes-somos) igual que index ===== */

/* paleta base (puedes ajustar si cambias en index) */
:root {
  --brand: #7d643d;
  --brand-dark: #5e4a2f;
  --text: #1f1f1f;
}

/* Alineación del header ya igualada (por si no lo añadiste antes) */
.topbar{
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.topbar > a { justify-self: start; }
.logo { justify-self: center; margin: 20px 0; text-align: center; }
.logo img { max-height: var(--logo-max-h, 80px); height: auto; }
.menu { justify-self: end; display: flex; align-items: center; gap: 12px; }

/* === Apariencia del SELECT (idiomas) === */
.menu select {
  appearance: none;                 /* ocultar flecha nativa */
  background-color: #fff;
  color: var(--text);
  padding: 8px 36px 8px 12px;       /* espacio para la flecha */
  line-height: 22px;
  border: 1px solid var(--brand);             /* “pill” */
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

/* === LOGO más grande, igual a index === */
:root { --logo-max-h: 96px; }
@media (max-width: 600px){ :root { --logo-max-h: 68px; } }

.logo img { max-height: var(--logo-max-h) !important; height: auto; }

/* === Fondo desplazado hacia arriba, igual a index === */
:root { --bg-shift-y: -80px; }
@media (max-width: 768px){ :root { --bg-shift-y: -40px; } }

body,
.hero,
.portada,
.main-bg {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center var(--bg-shift-y) !important;
}
