/* =========================================
   VARIABLES
========================================= */

:root {
  --cream: #f8f3ef;
  --cream-dark: #eee5df;

  --pink: #e9c7c3;
  --pink-dark: #c89d99;

  --brown: #806965;
  --brown-dark: #574a47;

  --text: #6f625f;

  --white: #ffffff;

  --transition: 0.4s ease;
}

/* =========================================
   RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;

  background: #ffffff;

  color: var(--text);

  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  padding: 22px 0;

  transition: var(--transition);
}

.navbar.scrolled {
  position: fixed;

  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

  padding: 14px 0;

  backdrop-filter: blur(10px);
}

.nav-container {
  width: min(1150px, 90%);

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

/* LOGO */

.logo {
  color: white;

  display: flex;

  flex-direction: column;

  line-height: 0.8;

  font-family: "Cormorant Garamond", serif;

  font-style: italic;

  font-size: 25px;
}

.logo strong {
  font-weight: 600;
}

.navbar.scrolled .logo {
  color: var(--brown-dark);
}

/* MENU */

.nav-menu {
  display: flex;

  align-items: center;

  gap: 32px;
}

.nav-menu a {
  color: white;

  font-size: 12px;

  font-weight: 400;

  transition: var(--transition);

  position: relative;
}

.nav-menu a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -7px;

  width: 0;

  height: 1px;

  background: white;

  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-menu a {
  color: var(--brown-dark);
}

.navbar.scrolled .nav-menu a::after {
  background: var(--brown-dark);
}

/* MENU MOBILE */

.menu-toggle {
  display: none;

  border: none;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 25px;

  height: 2px;

  margin: 5px;

  background: white;
}

.navbar.scrolled .menu-toggle span {
  background: var(--brown-dark);
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  width: 100%;

  height: auto;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;
}

.hero-image {
  display: block;

  width: 100%;

  height: auto;

  object-fit: contain;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: rgba(70, 50, 45, 0.12);

  z-index: 1;
}

.hero-content {
  position: absolute;

  z-index: 2;

  width: 90%;

  max-width: 900px;

  text-align: center;

  color: white;
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(42px, 5vw, 68px);

  line-height: 1.05;

  font-style: italic;

  font-weight: 600;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);

  margin-bottom: 22px;
}

.hero-content h1 span {
  display: inline-block;
}

.hero-content p {
  font-family: "Cormorant Garamond", serif;

  font-size: 18px;

  margin-bottom: 35px;
}

.hero-button {
  display: inline-block;

  padding: 14px 35px;

  background: #f1c7c1;

  color: #9a7773;

  border-radius: 40px;

  font-size: 13px;

  transition: var(--transition);

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-button:hover {
  transform: translateY(-4px);

  background: white;

  color: var(--brown);
}

/* =========================================
   SECTION TITLE
========================================= */

.section-title {
  text-align: center;

  margin-bottom: 45px;
}

.section-title h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 34px;

  font-style: italic;

  color: var(--brown);

  font-weight: 600;
}

.title-line {
  width: 55px;

  height: 1px;

  background: var(--pink-dark);

  margin: 12px auto;
}

.section-title h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 27px;

  color: var(--brown);

  font-style: italic;

  font-weight: 500;

  margin-top: 18px;
}

/* =========================================
   PRODUCTOS
========================================= */

.products-section {
  padding: 75px 7% 85px;

  background: white;
}

.products-grid {
  width: min(1000px, 100%);

  margin: auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.product-card {
  overflow: hidden;

  transition: var(--transition);
}

.product-image {
  position: relative;

  overflow: hidden;

  border-radius: 6px;

  aspect-ratio: 0.82;
}

.product-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

/* OVERLAY */

.product-overlay {
  position: absolute;

  inset: 0;

  background: rgba(87, 74, 71, 0.3);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay a {
  background: white;

  color: var(--brown);

  padding: 12px 22px;

  border-radius: 30px;

  font-size: 11px;
}

/* PRODUCT INFO */

.product-info {
  text-align: center;

  padding: 15px 5px 5px;
}

.product-info h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 22px;

  color: var(--brown);
}

.product-info p {
  font-size: 11px;

  color: #9a8d89;

  margin-top: 4px;
}

/* =========================================
   PERSONALIZADOS
========================================= */

.personalized {
  background: #faf7f5;

  padding-top: 70px;
}

/* =========================================
   ABOUT
========================================= */

.about {
  padding: 100px 8%;

  background: var(--cream);

  text-align: center;
}

.about-content {
  max-width: 700px;

  margin: auto;
}

.small-title {
  display: block;

  font-family: "Cormorant Garamond", serif;

  font-style: italic;

  color: var(--pink-dark);

  font-size: 20px;

  margin-bottom: 10px;
}

.about h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 42px;

  font-style: italic;

  color: var(--brown);

  margin-bottom: 25px;
}

.about p {
  font-size: 14px;

  line-height: 1.9;

  color: #817572;

  margin-bottom: 12px;
}

/* =========================================
   COLLECTIONS
========================================= */

.collections {
  padding: 90px 8%;
}

.collection-list {
  max-width: 850px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.collection-item {
  border: 1px solid #eadfdb;

  padding: 35px 20px;

  text-align: center;

  transition: var(--transition);
}

.collection-item:hover {
  background: var(--cream);

  transform: translateY(-5px);
}

.collection-item span {
  font-size: 11px;

  color: var(--pink-dark);
}

.collection-item h3 {
  font-family: "Cormorant Garamond", serif;

  font-size: 25px;

  color: var(--brown);

  font-style: italic;

  margin-top: 8px;
}

/* =========================================
   COLORES
========================================= */

.colors {
  background: var(--cream);

  padding: 80px 20px;

  text-align: center;
}

.colors p {
  font-size: 13px;

  margin-bottom: 30px;
}

.color-list {
  display: flex;

  justify-content: center;

  gap: 18px;
}

.color {
  width: 38px;

  height: 38px;

  border-radius: 50%;

  border: 4px solid white;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cream {
  background: #eee6dc;
}

.pink {
  background: #e8c5c3;
}

.brown {
  background: #8b7068;
}

.blue {
  background: #aec9ce;
}

.beige {
  background: #d5b99c;
}

/* =========================================
   CONTACTO
========================================= */

.contact {
  padding: 110px 20px;

  text-align: center;

  background: white;
}

.contact-content {
  max-width: 650px;

  margin: auto;
}

.contact h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 45px;

  font-style: italic;

  color: var(--brown);

  margin-bottom: 20px;
}

.contact p {
  font-size: 14px;

  line-height: 1.8;

  margin-bottom: 30px;
}

.contact-button {
  display: inline-block;

  background: var(--pink);

  color: var(--brown);

  padding: 15px 35px;

  border-radius: 40px;

  font-size: 12px;

  transition: var(--transition);
}

.contact-button:hover {
  background: var(--brown);

  color: white;

  transform: translateY(-3px);
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: #684f49;

  color: white;

  text-align: center;

  padding: 55px 20px 25px;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;

  font-style: italic;

  font-size: 32px;

  margin-bottom: 10px;
}

footer p {
  font-size: 12px;

  opacity: 0.8;

  margin-bottom: 25px;
}

.footer-links {
  display: flex;

  justify-content: center;

  gap: 25px;

  margin-bottom: 35px;
}

.footer-links a {
  font-size: 11px;

  opacity: 0.85;

  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  padding-top: 20px;

  font-size: 10px;

  opacity: 0.6;
}

/* =========================================
   ANIMACIONES
========================================= */

.product-card {
  opacity: 0;

  transform: translateY(30px);
}

.product-card.show {
  opacity: 1;

  transform: translateY(0);

  transition: 0.7s ease;
}
.pedido-whatsapp {
  display: inline-block;

  margin-top: 15px;

  padding: 11px 25px;

  border-radius: 30px;

  background: #e8bfc0;

  color: #765f5c;

  font-family: "Montserrat", sans-serif;

  font-size: 12px;

  font-weight: 500;

  text-decoration: none;

  transition: all 0.3s ease;
}

.pedido-whatsapp:hover {
  background: #d9abad;

  color: #ffffff;

  transform: translateY(-3px);

  box-shadow: 0 7px 18px rgba(150, 110, 105, 0.15);
}
/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .nav-menu {
    gap: 18px;
  }

  .nav-menu a {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .products-grid {
    gap: 12px;
  }
}

/* =========================================
   CELULAR
========================================= */

@media (max-width: 700px) {
  /* NAVBAR */

  .navbar {
    padding: 18px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;

    top: 100%;

    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    display: flex;

    flex-direction: column;

    gap: 0;

    max-height: 0;

    overflow: hidden;

    transition: 0.4s ease;

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu a {
    color: var(--brown-dark) !important;

    width: 100%;

    text-align: center;

    padding: 15px;

    border-bottom: 1px solid #eee;
  }

  .nav-menu a::after {
    display: none;
  }

  /* HERO */

  .hero {
    width: 100%;
  }

  .hero-content {
    padding: 15px;

    margin-top: 30px;
  }

  .hero-content h1 {
    font-size: 40px;

    line-height: 1.05;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-button {
    padding: 13px 28px;
  }

  /* PRODUCTS */

  .products-section {
    padding: 65px 20px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .products-grid {
    grid-template-columns: 1fr;

    max-width: 330px;

    gap: 35px;
  }

  .product-image {
    aspect-ratio: 0.85;
  }

  /* ABOUT */

  .about {
    padding: 75px 25px;
  }

  .about h2 {
    font-size: 36px;
  }

  /* COLLECTIONS */

  .collections {
    padding: 70px 20px;
  }

  .collection-list {
    grid-template-columns: 1fr;

    max-width: 350px;
  }

  /* CONTACT */

  .contact {
    padding: 80px 25px;
  }

  .contact h2 {
    font-size: 37px;
  }

  /* FOOTER */

  .footer-links {
    flex-direction: column;

    gap: 12px;
  }
}

/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero {
    min-height: 550px;
  }

  .section-title h2 {
    font-size: 29px;
  }
}
/* =================================
   ESCRITORIO
   3 tarjetas
================================= */

.product-card {
  flex: 0 0 calc((100% - 40px) / 3);
}

/* =================================
   TABLET
   3 tarjetas
================================= */

@media (max-width: 992px) {
  .product-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

/* =================================
   CELULAR
   2 tarjetas
================================= */

@media (max-width: 600px) {
  .product-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}
/* =================================
   SLIDER NUEVOS MODELOS
================================= */

.products-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 50px;
}

.products-slider .products-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.7s ease;
  will-change: transform;
}

.products-slider .product-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

/* =================================
   FLECHAS
================================= */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: #26b1b2;
  color: #fff;

  font-size: 22px;
  cursor: pointer;

  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 5px;
}

.slider-next {
  right: 5px;
}

/* =================================
   TABLET
   3 TARJETAS
================================= */

@media (max-width: 992px) {
  .products-slider .product-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

/* =================================
   CELULAR
   2 TARJETAS
================================= */

@media (max-width: 600px) {
  .products-slider {
    padding: 10px 38px;
  }

  .products-slider .products-grid {
    gap: 15px;
  }

  .products-slider .product-card {
    flex: 0 0 calc((100% - 15px) / 2);
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .slider-prev {
    left: 2px;
  }

  .slider-next {
    right: 2px;
  }
}
