/* Fuente títulos */
@font-face {
    font-family: 'Afacad-Bold';
    src: url('../fonts/Afacad/Afacad-Bold.ttf') format('truetype');
}

/* Fuente texto */
@font-face {
    font-family: 'Afacad';
    src: url('../fonts/Afacad/Afacad-Regular.ttf') format('truetype');
}

:root {
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-border-width: 1px;
    --bs-border-color: #dee2e6;
    --bs-border-radius: .25rem;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Afacad', sans-serif;
    font-size: 16px;
}

/* Logo */
#logo {
    height: 80px;
}

/* Carrusel */
carousel-inicio {
    position: relative;
}

.carousel-inicio img {
    height: 50rem;
    object-fit: cover;
    object-position: top;
    position: relative;
    z-index: 0;
}

.carousel-inicio #equiroots {
    height: 50rem;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
}

/* Manipulación de texto */
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-bold {
    font-weight: bold;
}

.text-capitalize {
    text-transform: capitalize;
}

.titulo {
    font-family: Afacad-Bold, sans-serif;
    line-height: 1.2;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .titulo {
        font-size: 2rem;
    }
}

.subtitulo {
    line-height: 1.2;
    font-weight: bold;
    font-size: 1.25rem;
}

.tag-text, .tag-text-light {
    font-size: 13px;
    font-weight: bold;
}

.tag-text {
    color: #012c8b;
}

.tag-text-light {
    color: #495e8e;
}

.tag-text-grey {
    color: #414141;
    font-size: 13px;
    font-weight: bold;
}

.white-text {
    color: white;
}

/* Quitar borde */
.no-borde {
    border: none;
}

/* Overlay de cards */
.card-overlay {
    color: white;
}

    .card-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.card-overlay2 {
    color: white;
    font-size: 22px;
}

    .card-overlay2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

/* Sección servicios */
.servicios .card {
    position: relative;
    overflow: hidden;
}

.servicios .card-body {
    position: relative;
    z-index: 2;
}

.servicios-bg1 {
    background-image: url('../img/Perfil-2.webp');
    background-size: cover;
    background-position: top;
}

.servicios-bg2 {
    background-image: url('../img/Perfil-5.webp');
    background-size: cover;
    background-position: top;
}

.servicios-bg3 {
    background-image: url('../img/Perfil-4.webp');
    background-size: cover;
    background-position: top;
}

.servicios-bg4 {
    background-image: url('../img/equinacea1.webp');
    background-size: contain;
    background-position: top;
}

.servicios-bg5 {
    background-image: url('../img/jengibre.webp');
    background-size: contain;
    background-position: top;
}

.servicios-bg6 {
    background-image: url('../img/equinacea2.webp');
    background-size: contain;
    background-position: top;
}

.servicios-bg7 {
    background-image: url('../img/Logo-Principal-NR-RGB-Color.webp');
    background-size: cover;
    background-position: top;
}

/* Sección por qué elegirnos */
.por-que-elegirnos {
    background-color: #4d7103;
    color: white;
    padding: 40px 10px;
}

@media (min-width: 768px) {
    .por-que-elegirnos {
        padding: 60px 0;
    }
}

.por-que-elegirnos .card {
    position: relative;
    background-color: #84a608;
    border: none;
    color: white;
    min-height: 350px;
    overflow: hidden;
}

    .por-que-elegirnos .card .circle {
        position: absolute;
        bottom: -70px;
        right: -50px;
        width: 150px;
        height: 150px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        border: none;
        z-index: 3;
        overflow: hidden;
    }

.por-que-elegirnos .icon {
    position: absolute;
    font-size: 2rem;
    color: white;
    margin-top: auto;
    bottom: 10px;
    right: 15px;
    z-index: 2;
}

.por-que-elegirnos .number {
    position: absolute;
    font-size: 5vw;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    top: -15px;
    left: 0px;
    z-index: 1;
}

