/* Fonts */
:root {
  --font-primary: 'NeueHaasMedium', sans-serif;
  --font-secondary: 'NeueHaasDisplay', sans-serif;
  --arrow-font: 'Lausanne300', sans-serif;
}

@font-face {
  font-family: 'NeueHaasDisplay';
  src: url('../fonts/NeueHaasDisplayBlack.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'NeueHaasMedium';
  src: url('../fonts/NeueHaasDisplayMediu.tff') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lausanne300';
  src: url('../fonts/Lausanne300.woff2') format('woff2');
}

/* Colors */
:root {
  --color-bg: #f0f0ef;
  --color-font: #1d1d1b;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: black;
  margin: 0;
  padding: 0;
}

.container-custom {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: space-around;
  padding: 0;
}

.text-section {
  flex: 1.8;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.image-logo img {
  width: 40%;
  height: auto;
}

.text-section div {
  padding-top: 5rem;
}

.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-section img {
  max-width: 100%;
  height: 100vh;
  object-fit: cover;
}

h1 {
  font-weight: bold;
}

p {
  font-size: 1.2rem;
}

a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}

.wp-container {
  display: flex;
  flex-direction: column;
}

.wp-container a {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .container-custom {
    flex-direction: column;
    height: auto;
  }

  .text-section {
    padding: 2rem;
    height: 1000px;
    overflow: hidden;
  }

  .text-section div {
    padding-top: 0;
    margin: 3rem 0;
  }

  .image-logo img {
    width: 70%;
    height: auto;
  }

  .image-section {
    margin-top: 4rem;
  }

  .image-section img {
    height: auto;
  }

  .contact-link {
    text-align: center;
    /* Alinea el texto al centro en pantallas pequeñas */
  }

  .name,
  .number {
    display: block;
    /* Asegura que cada span ocupe toda la línea */
  }
}