/* Reseteo Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


:root {
  --light-text-color: #f0eee9;
  --main-color: #23232a;  
  --gold: #bc8c44;
  --gold-1: #d4a843;
  --gold-2: #e8c06a;
  --main-color: #8ab4f8;
  --section-bg: #1e1e1e;
  --bg-color: #121212;
  /* --dark-text-color: #e0e0e0; */
 --dark-text-color: #fff7e0;
  
  --f: Fraunces, system-ui;

}

body {
    display: flex;
    font-family: var(--f);
    background: var(--bg-color);
    color: var(--dark-text-color);
    padding: 0;
    margin: 0;
    font-size: clamp(0.5rem, 0.6rem + 1vw, 1.2rem); 
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    scroll-behavior: smooth;
}
/* animacion de color de fondo, de backgroud general */
    body {
      /* background: linear-gradient(-75deg, #1c1c21, #0049a8, #00000a); */
      background: linear-gradient(-75deg,  #bc8c44, #1c1c21, #0049a8);
      background-size: 300% 300%;
      animation: gradiente 30s ease infinite;
    }
a {
    text-decoration: none;
    color: #fff; /* Define tu color deseado */
}
/* Grid Container */
.container {
    display: grid;
    grid-template-areas:
        "header"
        "hero"
        "services"
        "equipo"
        "footer"
        "copyright";
    gap: 1rem;
    padding: 1rem;
    max-width: 1200px;

}

/* header */
header {
    grid-area: header;
    background: var(--main-color);
    color: var(--dark-text-color);
    padding: 0.1rem 1rem 0.1rem 0.3rem;  
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    border: 1px solid var(--gold);
    position: sticky;
    top: 1px;
    left: auto;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: bolder;
    color: #333;
}

/* codigo de icono de whatsapp */
.container-boton{
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    bottom: 10px;
    right: 8px;
    padding: 8px;
    transition: ease 0.3s;
    animation: efecto 6s infinite;
    animation-delay: 6s;
}

.container-boton:hover{
    transform: scale(1.3);
    transition: 0.3s;
}

.botonWhatsApp{
    width: 2rem;
    transition: ease 50s;
}

@keyframes efecto{
    0%{
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
    }
    100%{
        box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
    }
}


/* Hero Section */
.hero {
    grid-area: hero;
    background: var(--section-bg);
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gold);
    min-height: 86vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('foto/014.jpg');
    /* background-image: url('foto/014.jpg'); */
    background-size: cover; /* Ajusta la imagen para cubrir todo el área */
    background-position: center;
    background-repeat: no-repeat;
        /* inicia agregado */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    flex-direction: column; /* Cambia la orientación a vertical */
    /* fin de agregado */
}

.hero img{
    max-width: 10rem;
    display: block;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h1 span {
    position: relative;
    font-weight: lighter;
    font-style: italic;
    font-size: 1.5rem;
}

h1 span::before {
    content: "";
    height: 1rem;
    width: 4px;
    position: absolute;
    top: 50%;
    right: -8px;
    background:var(--gold-1);
    transform: translateY(-45%);
    animation: blink 0.9s infinite;
}

h1 hr{
    border: 0; 
    height: 2px; 
    width: 100%;
    background-image: linear-gradient(to right,rgba(188, 140, 68, 0), rgba(188, 140, 68, 1), rgba(188, 140, 68, 0));
    margin: 0.2rem 0;
    /* margin: 0.6rem auto 0.6rem 0; */
}
h1 span.stop-blinking::before {
    animation: none;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}



.btn {
    background: var(--main-color);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    background-color: var(--gold);
}


/* Services */
.services {
    grid-area: services;
    background: var(--section-bg);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--gold);
}


/* %%%%%%%%%   Acorden y sus propiedades  %%%%%%%%%%% */
.acordeon-servicios{
    border-radius: 10px;
} 

.acordeon-servicios .caja-acordeon-servicio{
    margin: 1rem 0 1rem 0;
    border-radius: 4px;
    background: var(--main-color); 
    /* border: 1px solid #FFD6B3; */
    overflow: hidden;
        /* color: white; */
}

.caja-acordeon-servicio header-caja-acordeon{
    display: flex;
    min-height: 50px;
    padding: 0 15px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s linear;
}
.caja-acordeon-servicio .open header-caja-acordeon{
    min-height: 35px;
}
.caja-acordeon-servicio header-caja-acordeon .nombre-servicio{
    /* font-size: 14px; */
    font-weight: bold;
    color: #333;
}
.caja-acordeon-servicio header-caja-acordeon i{
    /* font-size: 15px; */
    color: #333;
}
.caja-acordeon-servicio .descripcion-servicio{
    height: 0;
    /* font-size: 1rem; */
    color: #333;
    /* font-weight: 400; */
    padding: 0 1rem 0 1rem;
    transition: all 0.2s linear;
}


/* equipo / nosotros / coworker / peer / colleague */
.equipo{
    grid-area: equipo;
    display: grid;
    background: var(--section-bg);
    border-radius: 10px;
    border: 1px solid var(--gold);
    padding: 1rem;
}

.team {
    display: grid;
  /* Define columnas responsivas: se adaptan solas con un tamaño mínimo de 250px y máximo de 1 fracción */
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.peer{
    transform: scale(1);
    overflow: hidden; 
    padding: 0.5rem  0.5rem  0.5rem  0.5rem;
    border-radius: 0.5rem;
    background-color: #8ab4f8;
    margin: 1rem 0.5rem 1rem 0.5rem;
    transition: transform 0.3s ease-in-out;
    color: #333;
}



.peer p{
    /* font-family: popins, sans-serif; */
    font-family: dm sans;
    font-size: medium;
    font-weight: 300;
    padding-top: 0.5rem;
    text-align: center;
}
.peer h4{
    text-align: center;
}

.peer:hover {
  background-color: var(--gold);
  transform: scale(1.05);
}

/* Efecto Hover: Al pasar el mouse por la card, el overlay sube */
.card:hover .card-overlay {
  transform: translateY(0); /* Regresa a su posición original */
}

/* Contenedor y Foto Redonda */
.image-container {
  width: 10rem;
  height: 10rem;
  margin: 0.4rem auto 0.8rem auto;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold); /* Línea de diseño opcional */
}

footer{
    grid-area: footer;
    background: var(--section-bg);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--gold);
}

.grilla_pie{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1fr);
    gap: 0.5rem;
    justify-items: stretch;
}

.pie_Contacto p{
    font-family: sans-serif;
    line-height: 1.3;
}
.pie_Contacto hr{
    border: 0; 
    height: 1px; 
    width: 50%;
    background-image: linear-gradient(to right,rgba(188, 140, 68, 1), rgba(188, 140, 68, 1), rgba(188, 140, 68, 0));
    /* margin: 0.6rem 0; */
    margin: 0.6rem auto 0.6rem 0;
}

.pie_Logo{
        display: flex;
    justify-items: center;
  justify-content: space-around;
  align-items: center; 
}
.pie_Logo img{
    max-width: 8rem;
}
.pie_Logo p {
    font-size: 2rem;
    font-weight: bolder;    
}
.pie_Logo span {
font-family:  sans-serif;
    font-size: 0.8rem;
    font-weight: normal;    
}
.copyright{
    grid-area: copyright;
    display: flex;
  justify-content: space-between;
  align-items: center; 
    background: var(--section-bg);
    padding: 0.6rem;
    border-radius: 10px;
    border: 1px solid var(--gold);
}
/* ===================================== */
/* ========== MEDIA QUERIES =========== */
/* ===================================== */


@media (min-width: 320px) and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
      .pie_Logo {
    flex-direction: column;  /* Cambia la fila por una columna */
    justify-content: center; /* Centrado vertical en columna */
    align-items: center;     /* Centrado horizontal en columna */
    text-align: center;      /* Centra el texto dentro de cada párrafo */
  }
    .pie_Logo p {
    /* font-size: 1.5rem; */
    font-weight: bolder;    
}
}

/* efecto de cambio de color de fondo */
    @keyframes gradiente {
      0% {
      background-position: 0% 50%;
      }
      50% {
      background-position: 100% 50%;
      }
      100% {
      background-position: 0% 50%;
      }
    }












