:root {
  --pink-light: #FDE7EF;
  --pink-soft: #F8D7E3;
  --pink-mid: #F3B8C9;
  --pink-dark: #E89BB4;
  --pink-deep: #D97895;
  --pink-rose: #B85C7A;
  --white: #FFFFFF;
  --cream: #FFFBF7;
  --ink: #4A3A40;
  --ink-soft: #8A727C;
  --shadow: 0 10px 40px rgba(184, 92, 122, 0.12);
  --radius: 18px;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- HEADER / NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(184, 92, 122, 0.08);
}

.nav {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav__menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__link {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 6px 0;
  transition: var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--pink-deep);
}

.nav__toggle {
  display: none;
  position: relative;
  z-index: 60;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--pink-light) 0%, var(--pink-soft) 35%, var(--pink-mid) 70%, var(--pink-dark) 100%);
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero::before {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
}

.hero::after {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -120px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeUp 1s ease both;
}

.hero__logo {
  width: 140px;
  margin: 0 auto 30px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 5px solid rgba(255,255,255,0.6);
  animation: float 5s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  color: var(--white);
  letter-spacing: 3px;
  text-shadow: 0 4px 20px rgba(184, 92, 122, 0.25);
  line-height: 1.1;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--white);
  font-weight: 300;
  letter-spacing: 6px;
  margin-top: 5px;
}

.hero__text {
  color: rgba(255,255,255,0.92);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin: 30px auto 40px;
  max-width: 520px;
  letter-spacing: 0.5px;
}

.btn {
  display: inline-block;
  padding: 15px 45px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--white);
  color: var(--pink-deep);
  box-shadow: 0 8px 25px rgba(184, 92, 122, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(184, 92, 122, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--pink-deep);
  border: 2px solid var(--pink-deep);
}

.btn--outline:hover {
  background: var(--pink-deep);
  color: var(--white);
  transform: translateY(-3px);
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.hero__scroll span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.7);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ---------- SECTIONS ---------- */
section { padding: 110px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- QUIÉN SOY ---------- */
.about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.about__image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 215, 227, 0.2), rgba(233, 155, 180, 0.15));
  z-index: 1;
}

.about__image-frame::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--pink-mid);
  border-radius: var(--radius);
  z-index: -1;
}

.about__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about__content { position: relative; }

.about__text {
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about__content .btn { margin-top: 12px; }

/* ---------- CREACIONES ---------- */
.creations {
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--cream) 100%);
}

.creations__header {
  text-align: center;
  margin-bottom: 40px;
}

.creations__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 28px;
  border-radius: 50px;
  border: 1.5px solid var(--pink-mid);
  background: transparent;
  color: var(--pink-rose);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--pink-soft);
  border-color: var(--pink-soft);
}

.filter-btn.active {
  background: var(--pink-deep);
  color: var(--white);
  border-color: var(--pink-deep);
  box-shadow: 0 4px 15px rgba(184, 92, 122, 0.3);
}

.creations__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  animation: fadeUp 0.6s ease both;
  background: var(--white);
  min-height: 380px;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item__img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: var(--pink-light);
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.03);
}

.gallery-item__placeholder {
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-item__placeholder {
  transform: scale(1.08);
}

.gallery-item__placeholder-icon {
  font-size: 3.2rem;
  color: rgba(255,255,255,0.85);
}

.gallery-item__placeholder-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--white);
  font-weight: 500;
}

.gallery-item__placeholder-text {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(184, 92, 122, 0.85) 0%, rgba(184, 92, 122, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__title {
  transform: translateY(0);
}

.gallery-item__category {
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__category {
  transform: translateY(0);
}

.creations__note {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 300;
  font-style: italic;
  margin-top: 40px;
  font-size: 0.95rem;
}

.creations__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 300;
  padding: 60px 20px;
}

/* ---------- CONTACTO ---------- */
.contact {
  background: var(--cream);
}

.contact__header {
  text-align: center;
  margin-bottom: 60px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 50px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  transition: var(--transition);
  border: 1px solid rgba(248, 215, 227, 0.5);
}

.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(184, 92, 122, 0.15);
}

.contact__card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-deep);
}

.contact__card-icon svg {
  width: 22px;
  height: 22px;
}

.contact__card-text {
  flex: 1;
  min-width: 0;
}

.contact__card-text p,
.contact__card-text a {
  overflow-wrap: anywhere;
}

.contact__card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact__card p,
.contact__card a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.contact__card a:hover {
  color: var(--pink-deep);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  box-shadow: var(--shadow);
  border: 1px solid rgba(248, 215, 227, 0.5);
  background: var(--white);
}

.contact__map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 420px;
  filter: saturate(0.9) sepia(0.08);
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(145deg, var(--pink-soft), var(--pink-mid));
  padding: 60px 0 40px;
  text-align: center;
}

.footer__logo {
  width: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(184, 92, 122, 0.2);
}

.footer__text {
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  font-size: 0.92rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--white);
  color: var(--pink-deep);
  transform: translateY(-3px);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(74, 58, 64, 0.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox.show {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: fadeUp 0.4s ease;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.4);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__map iframe { min-height: 350px; }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    gap: 30px;
    z-index: 50;
    box-shadow: -10px 0 40px rgba(184, 92, 122, 0.15);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav__menu.show {
    right: 0;
  }

  .nav__link {
    font-size: 1.3rem;
    font-family: var(--font-serif);
  }

  section { padding: 80px 0; }

  .creations__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-item {
    min-height: 260px;
  }

  .gallery-item__img {
    height: 260px;
  }

  .gallery-item__placeholder {
    height: 260px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .creations__gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__logo { width: 110px; }

  .btn { padding: 13px 35px; }

  .contact__card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
