* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  color: #333;
  background: #f5f5f5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background: white;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

.logo span {
  font-weight: bold;
}

/* BUTTONS */
.btn {
  background: #5a3e2b;
  color: white;
  padding: 10px 18px;
  border: none;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 10px 18px;
}

/* HERO */
.hero {
  background: url('https://picsum.photos/1600/800') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
  max-width: 500px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 50px 0;
}

.feature {
  background: white;
  padding: 20px;
  text-align: center;
}

/* PROJECTS */
.projects {
  background: #eee;
  padding: 50px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card {
  position: relative;
}

.card img {
  width: 100%;
  display: block;
}

.card span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-weight: bold;
}

/* SERVICES */
.services {
  padding: 50px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.service-grid div {
  background: white;
  padding: 20px;
  text-align: center;
}

/* CTA */
.cta {
  background: #5a3e2b;
  color: white;
  padding: 40px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* FOOTER */
.footer {
  background: #222;
  color: white;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin: 5px 0;
}

.copy {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

/* ====== RESPONSIVE BASE ====== */
img {
  max-width: 100%;
  height: auto;
}

/* NAV MOBILE */
.nav {
  flex-wrap: wrap;
}

.nav nav {
  display: flex;
  gap: 10px;
}

/* HERO RESPONSIVE */
.hero {
  padding: 40px 0;
  height: auto;
  text-align: left;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
}

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {

  .hero h1 {
    font-size: 36px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* MOBILE (<= 768px) */
@media (max-width: 768px) {

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav nav {
    flex-direction: column;
    width: 100%;
  }

  .nav a {
    padding: 10px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    text-align: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }
}

/* SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 13px;
  }

  .btn, .btn-outline {
    padding: 10px;
    font-size: 14px;
  }
}
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}

/* ANIMACIÓN (X) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    border-top: 1px solid #ddd;
  }

  nav a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  nav.active {
    display: flex;
  }

  /* Oculta botón en mobile si quieres */
  .nav .btn {
    display: none;
  }
}

/* HEADER */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* CONTENEDOR */
.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* LOGO */
.logo img {
  height: 100px; /* 🔑 controla el tamaño */
  width: auto;
  display: block;
}

/* MENU */
.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

/* EFECTO HOVER */
.menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #000;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* TOGGLE */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 768px){

  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .menu-toggle {
    display: block;
  }
}


/* ========================= */
/* TESTIMONIOS / GALLERY */
/* ========================= */

.testimonials-gallery{
    width:100%;
    padding:100px 8%;
    background:#f8f8f8;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header span{
    color:#c59d5f;
    font-size:14px;
    letter-spacing:3px;
    text-transform:uppercase;
    font-weight:600;
}

.section-header h2{
    font-size:48px;
    color:#111;
    margin-top:15px;
    margin-bottom:20px;
    font-weight:700;
}

.section-header p{
    max-width:750px;
    margin:auto;
    color:#666;
    line-height:1.8;
    font-size:18px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px,1fr));
    gap:35px;
}

.gallery-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);

    transition:all .5s ease;

    opacity:0;
    transform:translateY(50px);
}

.gallery-card.show{
    opacity:1;
    transform:translateY(0);
}

.gallery-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.gallery-image{
    width:100%;
    height:280px;
    overflow:hidden;
}

.gallery-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s ease;
}

.gallery-card:hover img{
    transform:scale(1.08);
}

.gallery-content{
    padding:30px;
}

.gallery-content h3{
    font-size:28px;
    margin-bottom:15px;
    color:#111;
}

.gallery-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.gallery-content ul{
    list-style:none;
    padding:0;
    margin:0;
}

.gallery-content ul li{
    margin-bottom:10px;
    color:#333;
    position:relative;
    padding-left:25px;
}

.gallery-content ul li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:#c59d5f;
    font-weight:bold;
}

@media(max-width:768px){

    .testimonials-gallery{
        padding:70px 6%;
    }

    .section-header h2{
        font-size:34px;
    }

    .section-header p{
        font-size:16px;
    }

    .gallery-image{
        height:230px;
    }

}
.gallery-card{
    backdrop-filter: blur(10px);
    background:rgba(255,255,255,0.92);
}
/* ========================= */
/* BOTON CARRITO */
/* ========================= */

.cart-btn{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    color:#111;
    text-decoration:none;
    font-weight:600;
    transition:.3s ease;
}

.cart-btn:hover{
    color:#c59d5f;
}

.cart-count{
    width:22px;
    height:22px;
    background:#c59d5f;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
}

/* ========================= */
/* BOTON AGREGAR */
/* ========================= */

.add-to-cart-btn{
    width:100%;
    margin-top:20px;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#111;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.4s ease;
}

.add-to-cart-btn:hover{
    background:#c59d5f;
    transform:translateY(-2px);
}

/* ========================= */
/* CARD PRODUCTO */
/* ========================= */

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.4s ease;
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-image{
    height:260px;
    overflow:hidden;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-info{
    padding:25px;
}

.product-title{
    font-size:24px;
    margin-bottom:10px;
}

.product-description{
    color:#666;
    margin-bottom:15px;
    line-height:1.6;
}

.product-price{
    display:block;
    font-size:22px;
    font-weight:700;
    color:#c59d5f;
}

.cart-notification{
    position:fixed;
    top:30px;
    right:30px;
    background:#111;
    color:#fff;
    padding:18px 24px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
    z-index:9999;

    opacity:0;
    transform:translateY(-20px);

    transition:.4s ease;
}

.cart-notification.show{
    opacity:1;
    transform:translateY(0);
}
x rgba(0,0,0,0.05);
}

.cart-item img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:14px;
}

.cart-item-info{
    flex:1;
}

.cart-item-title{
    font-size:22px;
    margin-bottom:10px;
}

.cart-item-price{
    color:#c59d5f;
    font-size:20px;
    font-weight:700;
}

.cart-item-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.qty-btn{
    width:35px;
    height:35px;
    border:none;
    border-radius:8px;
    background:#111;
    color:#fff;
    cursor:pointer;
}

.remove-btn{
    background:#d62828;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
}

.cart-summary{
    margin-top:40px;
    text-align:right;
}

.checkout-btn{
    margin-top:20px;
    padding:16px 35px;
    background:#111;
    color:#fff;
    border:none;
    border-radius:14px;
    cursor:pointer;
    transition:.4s ease;
}

.checkout-btn:hover{
    background:#c59d5f;
}