/* =======================================================
   ARTESALINDAS – STYLE.CSS (RÚSTICO MODERNO)
   ======================================================= */

/* -------------------- RESET BÁSICO -------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
html, body { width: 100%; height: 100%; scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }

/* -------------------- TIPOGRAFÍA -------------------- */
@font-face {
  font-family: "Cheesecake";
  src: url("fonts/Cheesecake.ttf") format("truetype");
  font-display: swap;
}

:root{
  --marron: #8B5E3C;          /* madera tostada */
  --marron-osc: #5a3c25;      /* tono más oscuro */
  --beige: #E8D8C3;           /* beige suave */
  --beige-claro: #F5EFE6;     /* fondo claro */
  --dorado: #C79A5A;          /* acento */
  --negro: #1e1b18;
  --gris: #6d6a66;
  --blanco: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,.18);
  --radius: 16px;
}

/* -------------------- FONDO ANIMADO GLOBAL -------------------- */
body{
  font-family: "Lato", system-ui, -apple-system, Arial, sans-serif;
  color: var(--negro);
  background: radial-gradient(1200px 800px at 20% 0%, #6a4b33 0%, #a0744e 35%, #d2b48c 70%, #f5efe6 100%);
  background-attachment: fixed;
  animation: maderaFlux 18s ease-in-out infinite;
}
@keyframes maderaFlux{
  0%   { background-position: 0% 0%;   filter: hue-rotate(0deg);   }
  50%  { background-position: 100% 60%; filter: hue-rotate(-6deg); }
  100% { background-position: 0% 0%;   filter: hue-rotate(0deg);   }
}

/* Pequeñas “vetas” en el fondo */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity:.08;
  background-image:
    repeating-linear-gradient( 90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 8px ),
    repeating-linear-gradient(  0deg, rgba(0,0,0,.03) 0 1px, transparent 1px 10px );
  mix-blend-mode: multiply;
}

/* -------------------- CONTENEDORES COMUNES -------------------- */
section{
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 72px 0;
}
h1,h2,h3{
  letter-spacing: .5px;
}
h2{
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 800;
  color: var(--marron-osc);
  text-shadow: 0 2px 0 rgba(0,0,0,.04);
}

/* -------------------- HEADER FIJO -------------------- */
header{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(24,18,14,.75), rgba(24,18,14,.35), transparent);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
header .inner{
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
header .logo{
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255,255,255,.4);
}
header .logo img{
  width: 100%; height: 100%; object-fit: cover;
}

/* NAV */
nav{
  display: flex; align-items: center; gap: 22px;
  flex: 1; padding-left: 10px;
}
nav a{
  color: #fff; text-decoration: none; font-weight: 700;
  letter-spacing: .6px; font-size: 14px; text-transform: uppercase;
  padding: 8px 10px; border-radius: 10px; transition: .25s ease;
  opacity:.9;
}
nav a:hover, nav a.active{
  background: rgba(255,255,255,.12);
  color: #fff; opacity:1;
}

/* -------------------- BUSCADOR + CATÁLOGO EN HEADER -------------------- */
.header-tools{ display:flex; align-items:center; gap:10px; }

.search-form{
  display:flex; align-items:center; gap:6px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  padding: 6px 10px; border-radius: 99px;
  transition: .25s ease; backdrop-filter: blur(8px);
}
.search-form:hover{ background: rgba(255,255,255,.18); }
.search-form input{
  background: transparent; border:0; outline: none;
  color:#fff; width: 160px; font-size: 14px;
}
.search-form input::placeholder{ color: rgba(255,255,255,.75); }
.search-form button{
  background: transparent; border:0; cursor:pointer; color:#fff;
  display:grid; place-items:center; padding: 4px;
}

/* Catálogo dropdown */
.catalogo{ position: relative; }
.catalogo-btn{
  display:flex; align-items:center; gap:6px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  color:#fff; padding: 8px 14px; border-radius: 999px;
  cursor:pointer; transition: .25s ease; font-weight:700;
}
.catalogo-btn:hover{ background: rgba(255,255,255,.18); }
.catalogo-menu{
  display:none; position:absolute; right:0; top:110%;
  background: rgba(26,20,16,.96);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 14px; min-width: 220px; padding: 8px; box-shadow: var(--shadow);
}
.catalogo-menu.show{ display:block; }
.catalogo-menu li{ list-style:none; }
.catalogo-menu a{
  display:block; padding: 10px 12px; border-radius: 10px;
  color: #fff; text-decoration: none; font-weight: 600;
}
.catalogo-menu a:hover{
  background: rgba(255,255,255,.12);
}

/* Botón lateral “colección” */
.donate-link{
  color:#fff; text-decoration: none; font-weight:800;
  background: linear-gradient(135deg, #b88652, #e1c596);
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .2s ease; white-space: nowrap;
}
.donate-link:hover{ transform: translateY(-2px); }

/* Compensar anclas por header sticky */
#nosotros, #servicios, #catalogo, #contacto, #lamparas, #relojes, #artesanias{
  scroll-margin-top: 96px;
}

/* -------------------- CARRUSEL FULL WIDTH -------------------- */
#slider{
  position: relative; width: 100%; height: 92vh; overflow: hidden;
  border-radius: 0 0 24px 24px;
}
#slider .slides {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#slider .slides img{
  object-fit: contain !important;
  width: 100%;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: none;
  margin: auto;
  background-color: #8B5E3C;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#slider .slides img.active{ display:block; animation: fadeIn 900ms ease; }
@keyframes fadeIn{
  from{ opacity:0; transform: scale(1.04) }
  to  { opacity:1; transform: scale(1.0) }
}

/* Paginación bolitas */
#pagination{
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); z-index: 5;
  display:flex; flex-direction: column; gap: 14px;
}
#pagination button{
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.25); cursor:pointer; opacity:.6;
  transition: .25s ease; outline: none;
}
#pagination button:hover{ opacity: .9; transform: scale(1.08); }
#pagination button.active{
  background: #fff; border-color: #fff; opacity: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,.24);
}

/* Texto encima del slider (si lo usas) */
#slider-content{
  position:absolute; inset: 0; z-index: 4;
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:#fff; padding: 0 18px;
}
#slider-content .meta{
  background: rgba(0,0,0,.35); padding: 10px 16px; border-radius: 12px;
  letter-spacing: 3px; text-transform: uppercase;
}

/* -------------------- SECCIÓN: NOSOTROS (CARDS) -------------------- */
#nosotros{ font-family:"Cheesecake", cursive; }
#nosotros h2{ text-align: center; margin-bottom: 24px; }
#nosotros .container{
  margin-top: 28px; display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84));
  border: 1px solid rgba

}
/* -------------------- FORMULARIO CONTACTO -------------------- */
#contacto {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5efe6, #e8d8c3, #fdf5e6);
  border-radius: 20px;
  width: min(1000px, 95%);
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#contacto h2 {
  text-align: center;
  font-family: "Cheesecake", cursive;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--marron-osc);
}

#contacto p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--gris);
}

form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

form input,
form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  font-size: 1em;
  font-family: "Lato", sans-serif;
  background: #fff;
  color: var(--negro);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1) inset;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--marron);
  box-shadow: 0 0 10px rgba(139,94,60,0.3);
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button {
  padding: 14px 28px;
  background: var(--marron);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

form button:hover {
  background: var(--marron-osc);
  transform: translateY(-2px);
}
/* ------------------- SECCIÓN NOSOTROS ------------------- */
#nosotros {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fdfaf6, #f5e9dc, #e9dcc5);
}

#nosotros h2 {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #5a3825;
  font-family: "Cheesecake", cursive;
}

/* Galería en mosaico */
.nosotros-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.nosotros-galeria .item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nosotros-galeria .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animación */
.nosotros-galeria .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}
/* ====== SECCIONES A PANTALLA COMPLETA ====== */
#nosotros, #catalogo {
  width: 100%;
  padding: 60px 5%;
  background: linear-gradient(to bottom, #f6f0e8, #f2e5d2);
  text-align: center;
}

/* Título de sección */
#nosotros h2, #catalogo h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #4a2c14;
}

/* Contenedor flexible para las tarjetas */
.nosotros-contenedor, .catalogo-contenedor {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas de Nosotros */
.nosotros-card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

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

.nosotros-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nosotros-card h3 {
  margin: 15px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d1b10;
}

/* Galería de catálogo */
.catalogo-item {
  flex: 1 1 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.catalogo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.catalogo-item:hover {
  transform: scale(1.05);
}


/* ====== SECCIÓN SERVICIOS ====== */
#servicios {
  width: 100%;
  padding: 60px 5%;
  background: linear-gradient(to bottom, #f6f0e8, #f2e5d2);
  text-align: center;
}

#servicios h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #4a2c14;
}

/* Grid de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Cada tarjeta */
.servicio-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.0);
}

/* Íconos */
.servicio-card i {
  font-size: 2.5rem;
  color: #7b4b2a;
  margin-bottom: 15px;
}

/* Título */
.servicio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #3a2414;
  font-weight: bold;
}



.nosotros-contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.nosotros-texto {
  flex: 1 1 55%;
  color: #3e2c1c;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.nosotros-texto h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2.5rem;
  color: #8B4513;
  margin-bottom: 20px;
}

.nosotros-logo {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-logo img {
  max-width: 350px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  background: #fff;
  padding: 15px;
}
/* ------------------- NOSOTROS BONITO ------------------- */
#nosotros {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background: linear-gradient(135deg, #fdfaf6, #f5e9dc, #e9dcc5);
}

#nosotros h2 {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #5a3825;
  font-family: "Cheesecake", cursive;
}

.nosotros-galeria {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  height: 450px; /* altura fija para el collage */
}

.nosotros-galeria .item {
  position: absolute;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, z-index 0.4s;
}

.nosotros-galeria .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tamaños diferentes */
.nosotros-galeria .grande {
  width: 300px;
  height: 350px;
  top: 30px;
  left: 0;
}
.nosotros-galeria .mediana {
  width: 220px;
  height: 280px;
  top: 100px;
  left: 250px;
}
.nosotros-galeria .pequeña {
  width: 180px;
  height: 220px;
  top: 50px;
  left: 500px;
}
.servicios .galeria {
  display: flex;             /* Poner las imágenes en fila */
  justify-content: center;   /* Centrar horizontal */
  gap: 20px;                 /* Espacio entre imágenes */
  flex-wrap: wrap;           /* Si la pantalla es pequeña, que bajen */
}

.servicios .item img {
  width: 220px;              /* Ajusta el tamaño de las imágenes */
  height: auto;
  border-radius: 12px;       /* Bordes redondeados */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.servicios .item img:hover {
  transform: scale(1.05);    /* Pequeño zoom al pasar el mouse */
}
/* 🔹 Carrusel */
#slider {
  position: relative;
  width: 100%;
  height: 100vh; /* pantalla completa */
  background-color: #8B5E3C; /* fondo café */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#slider .slides {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#slider .slides img{
  object-fit: contain !important;
  width: 100%;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  display: none;
  margin: auto;
  background-color: #8B5E3C;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#slider .slides img.active{ display:block; animation: fadeIn 900ms ease; }
@keyframes fadeIn{
  from{ opacity:0; transform: scale(1.04) }
  to  { opacity:1; transform: scale(1.0) }
}

/* Paginación bolitas */
#pagination{
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); z-index: 5;
  display:flex; flex-direction: column; gap: 14px;
}
#pagination button{
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.25); cursor:pointer; opacity:.6;
  transition: .25s ease; outline: none;
}
#pagination button:hover{ opacity: .9; transform: scale(1.08); }
#pagination button.active{
  background: #fff; border-color: #fff; opacity: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,.24);
}

/* Texto encima del slider (si lo usas) */
#slider-content{
  position:absolute; inset: 0; z-index: 4;
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:#fff; padding: 0 18px;
}
#slider-content .meta{
  background: rgba(0,0,0,.35); padding: 10px 16px; border-radius: 12px;
  letter-spacing: 3px; text-transform: uppercase;
}

/* -------------------- SECCIÓN: NOSOTROS (CARDS) -------------------- */
#nosotros{ font-family:"Cheesecake", cursive; }
#nosotros h2{ text-align: center; margin-bottom: 24px; }
#nosotros .container{
  margin-top: 28px; display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84));
  border: 1px solid rgba

}
/* -------------------- FORMULARIO CONTACTO -------------------- */
#contacto {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5efe6, #e8d8c3, #fdf5e6);
  border-radius: 20px;
  width: min(1000px, 95%);
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#contacto h2 {
  text-align: center;
  font-family: "Cheesecake", cursive;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--marron-osc);
}

#contacto p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--gris);
}

form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

form input,
form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  font-size: 1em;
  font-family: "Lato", sans-serif;
  background: #fff;
  color: var(--negro);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1) inset;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--marron);
  box-shadow: 0 0 10px rgba(139,94,60,0.3);
}

form textarea {
  min-height: 140px;
  resize: vertical;
}

form button {
  padding: 14px 28px;
  background: var(--marron);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

form button:hover {
  background: var(--marron-osc);
  transform: translateY(-2px);
}
/* ------------------- SECCIÓN NOSOTROS ------------------- */
#nosotros {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fdfaf6, #f5e9dc, #e9dcc5);
}

#nosotros h2 {
  font-size: 2.8em;
  margin-bottom: 50px;
  color: #5a3825;
  font-family: "Cheesecake", cursive;
}

/* Galería en mosaico */
.nosotros-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.nosotros-galeria .item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nosotros-galeria .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animación */
.nosotros-galeria .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}
/* ====== SECCIONES A PANTALLA COMPLETA ====== */
#nosotros, #catalogo {
  width: 100%;
  padding: 60px 5%;
  background: linear-gradient(to bottom, #f6f0e8, #f2e5d2);
  text-align: center;
}

/* Título de sección */
#nosotros h2, #catalogo h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #4a2c14;
}

/* Contenedor flexible para las tarjetas */
.nosotros-contenedor, .catalogo-contenedor {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjetas de Nosotros */
.nosotros-card {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

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

.nosotros-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nosotros-card h3 {
  margin: 15px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d1b10;
}

/* Galería de catálogo */
.catalogo-item {
  flex: 1 1 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.catalogo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.catalogo-item:hover {
  transform: scale(1.05);
}


/* ====== SECCIÓN SERVICIOS ====== */
#servicios {
  width: 100%;
  padding: 60px 5%;
  background: linear-gradient(to bottom, #f6f0e8, #f2e5d2);
  text-align: center;
}

#servicios h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #4a2c14;
}

/* Grid de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Cada tarjeta */
.servicio-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.0);
}

/* Íconos */
.servicio-card i {
  font-size: 2.5rem;
  color: #7b4b2a;
  margin-bottom: 15px;
}

/* Título */
.servicio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #3a2414;
  font-weight: bold;
}



.nosotros-contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.nosotros-texto {
  flex: 1 1 55%;
  color: #3e2c1c;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.nosotros-texto h2 {
  font-family: "Cheesecake", cursive;
  font-size: 2.5rem;
  color: #8B4513;
  margin-bottom: 20px;
}

.nosotros-logo {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nosotros-logo img {
  max-width: 350px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  background: #fff;
  padding: 15px;
}

/* Media Queries */
@media (min-width: 801px) {
  .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin: 0 auto 0 120px;
    /* El valor 120px ajusta el menú un poco a la derecha, puedes modificarlo según tu preferencia */
    gap: 32px;
  }
}

.top-slide-menu {
  position: fixed;
  top: -100vh;
  left: 0;
  right: 0;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  background: #fff8f0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  z-index: 9999;
  transition: top 0.4s cubic-bezier(.77,0,.18,1);
  padding: 60px 0 32px 0;
  text-align: center;
  border-radius: 0 0 18px 18px;
  margin: 0;
  box-sizing: border-box;
  /* NO display:none aquí */
}
.top-slide-menu.open {
  top: 0;
  display: block !important;
}
.top-slide-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.top-slide-menu li {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 18px 0;
}
.top-slide-menu a, .top-slide-menu .catalogo-btn {
  color: #7b4b2a;
  font-size: 1.25em;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 0;
  display: block;
  border-radius: 10px;
  background: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  text-align: center;
}
.top-slide-menu a:hover, .top-slide-menu .catalogo-btn:hover {
  background: #f5e9dc;
  color: #b97a56;
}
.top-slide-menu .catalogo-menu {
  background: #fff8f0;
  border-radius: 10px;
  margin: 10px auto 0 auto;
  padding: 0;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: none;
  position: static;
}
.top-slide-menu .catalogo-menu.show {
  display: block;
}
.top-slide-menu .catalogo-menu li {
  margin: 0;
}
.top-slide-menu .catalogo-menu a {
  font-size: 1em;
  padding: 10px 0;
  color: #7b4b2a;
  background: none;
  border-radius: 0;
}
.top-slide-menu .catalogo-menu a:hover {
  background: #f5e9dc;
  color: #b97a56;
}

/* MEDIA QUERIES */
@media (max-width: 800px) {
  .menu-toggle {
    display: flex !important;
    z-index: 10001;
  }
  .main-nav {
    display: none !important;
  }
  .top-slide-menu {
    display: block !important;
  }
}
@media (min-width: 801px) {
  .menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .top-slide-menu {
    display: none !important;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10001;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #7b4b2a;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 800px) {
  .menu-toggle {
    display: flex !important;
  }
  .main-nav {
    display: none !important;
  }
  .top-slide-menu {
    display: block !important;
  }
}
@media (min-width: 801px) {
  .menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
  .top-slide-menu {
    display: none !important;
  }
}

