/* ===============================  
VARIABLES DE COLOR Y FUENTES  
=============================== _/  
:root {  
--primary-color: #e91e63; 
--secondary-color: #f8bbd0;  
--accent-color: #ffebee; 
--text-color: #333;
--bg-color: #fff;
--font-family: 'Poppins', sans-serif;
}

/* ===============================
   VARIABLES
   =============================== */
:root {
    --primary-color: #e91e63;
    --secondary-color: #f8bbd0;
    --accent-color: #ffebee;
    --bg-color: #fff;
    --text-color: #333;
    --font-family: 'Poppins', sans-serif;
}

/* ===============================
   RESET Y BASE
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    color: var(--primary-color);
}

/* ===============================
   BOTONES Y LINKS
   =============================== */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.link:hover {
    text-decoration: underline;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* ===============================  
HEADER Y NAVEGACIÓN  
=============================== */
header {
    background-color: var(--accent-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===============================  
HERO / PORTADA  
=============================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('[https://images.unsplash.com/photo-1500835556837-99ac94a94552?auto=format&fit=crop&w=1600&q=80](https://images.unsplash.com/photo-1500835556837-99ac94a94552?auto=format&fit=crop&w=1600&q=80)') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
}

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

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

.hero a {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
}

.hero a:hover {
    background-color: var(--secondary-color);
}

/* ===============================  
SECCIONES GENERALES  
=============================== */
section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
}

/* ===============================  
CONÓCENOS  
=============================== */
.conocenos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.conocenos img {
    flex: 1 1 45%;
}

.conocenos div {
    flex: 1 1 45%;
}

/* ===============================  
PRODUCTOS  
=============================== */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.producto {
    background: var(--accent-color);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.producto:hover {
    transform: translateY(-5px);
}

.producto img {
    border-radius: 15px;
    margin-bottom: 1rem;
}

.producto h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===============================  
UBICACIÓN  
=============================== */
.map-container iframe {
    width: 100%;
    border: none;
    border-radius: 10px;
    height: 400px;
}

/* ===============================  
CONTACTO  
=============================== */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background-color: var(--secondary-color);
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
    padding: 4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1 1 45%;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-img {
    flex: 1 1 45%;
}

/* ===============================
   SECCIONES GENERALES
   =============================== */
.section {
    padding: 4rem 0;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section p {
    color: #555;
    margin-bottom: 2rem;
}

/* ===============================
   CARDS
   =============================== */
.cards .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--accent-color);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    border-radius: 15px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===============================
   TEAM GRID
   =============================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: var(--accent-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h4 {
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.95rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Estilos del menú principal */
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

nav ul li a {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--primary-color);
  margin: 4px 0;
  transition: 0.4s;
}

/* Animación hamburguesa a X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  nav ul.active {
    max-height: 500px; /* ajusta según la cantidad de enlaces */
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }
}


/* ===============================
   FOOTER
   =============================== */
footer {
    background-color: var(--accent-color);
    text-align: center;
    padding: 1.5rem;
    color: #555;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

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


/* ===============================  
FOOTER  
=============================== */
footer {
    background-color: var(--accent-color);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

/* ===============================  
RESPONSIVE DESIGN  
=============================== */
@media (max-width: 768px) {
    .conocenos {
        flex-direction: column;
    }

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

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}