/* ===========================
   CLEO — styles.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:       #000000;
  --white:       #ffffff;
  --white-soft:  rgba(255,255,255,0.85);
  --white-dim:   rgba(255,255,255,0.55);
  --gold:        #c9a96e;
  --overlay:     rgba(0,0,0,0.52);
  --font-display:'Cormorant Garamond', serif;
  --font-body:   'Montserrat', sans-serif;
  --ease-silk:   cubic-bezier(0.23, 1, 0.32, 1);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

/* ── Video Background ── */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: brightness(0.75);
}

/* ── Grain Texture ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Main Layout ── */
.page {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1rem, 5vw, 3rem);
}

/* ── TOP: Logo Block ── */
.top-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 1.5vh, 1.1rem);
  animation: fadeDown 1.1s var(--ease-silk) both;
}

/* Logo image */
.logo-img-wrap {
  margin: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: clamp(60px, 14vh, 140px);
  max-width: clamp(180px, 50vw, 420px);
  object-fit: contain;
  filter: brightness(0) invert(1); /* Fuerza blanco; elimina esta línea si el logo ya es blanco */
  drop-shadow: 0 0 30px rgba(255,255,255,0.15);
}

/* Main tagline */
.tagline {
  font-family: "Arizonia", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 3.2vw, 1.8rem);
  letter-spacing: 0.04em;
  color: var(--white-soft);
  text-align: center;
  max-width: 600px;
  line-height: 1.4;
  margin-top: clamp(0.2rem, 0.8vh, 0.6rem);
}

/* Spotify embed */
.spotify-wrap {
  width: clamp(260px, 80vw, 480px);
  height: clamp(100px, 18vh, 160px);
  margin-top: clamp(0.4rem, 1.2vh, 0.9rem);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.92;
}

.spotify-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* WhastApp */

/* Botón flotante WhatsApp */

.whatsapp-float {

    position: fixed;

    width: 60px;
    height: 60px;

    bottom: 25px;
    right: 25px;

    background-color: #25D366;

    color: #fff;

    border-radius: 50%;

    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0,0,0,.25);

    z-index: 9999;

    transition: all .3s ease;
}


/* Hover */

.whatsapp-float:hover {

    background-color: #20bd5a;

    transform: scale(1.1);

}


/* Icono real WhatsApp */

.whatsapp-icon {

    font-size: 34px;

    line-height: 1;

}


/* Animación */

.whatsapp-float::after {

    content: "";

    position: absolute;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: rgba(37,211,102,.35);

    animation: whatsappPulse 1.8s infinite;

    z-index: -1;

}


@keyframes whatsappPulse {

    0% {

        transform: scale(1);

        opacity: 1;

    }


    100% {

        transform: scale(1.7);

        opacity: 0;

    }

}


/* Responsive */

@media(max-width:768px){

    .whatsapp-float {

        width:55px;
        height:55px;

        bottom:20px;
        right:20px;

    }


    .whatsapp-icon {

        font-size:30px;

    }

}

/* ── MIDDLE: CTA Button ── */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.2s var(--ease-silk) 0.3s both;
}

.btn-catalog {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(0.75rem, 2vh, 1rem) clamp(2rem, 6vw, 3.5rem);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.7rem, 1.8vw, 0.82rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-silk),
              color 0.4s var(--ease-silk),
              box-shadow 0.4s var(--ease-silk);
}

.btn-catalog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(201,169,110,0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-silk);
}

.btn-catalog:hover::before {
  transform: translateX(120%);
}

.btn-catalog:hover {
  border-color: var(--white);
  color: var(--white);
  box-shadow: 0 0 24px rgba(255,255,255,0.15),
              inset 0 0 24px rgba(255,255,255,0.04);
}

.btn-catalog svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── BOTTOM: Social Icons ── */
.social-block {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.4rem);
  animation: fadeUp 1.3s var(--ease-silk) 0.5s both;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 5.5vw, 44px);
  height: clamp(34px, 5.5vw, 44px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  color: var(--white-dim);
  text-decoration: none;
  transition: border-color 0.35s var(--ease-silk),
              color 0.35s var(--ease-silk),
              transform 0.35s var(--ease-silk),
              background 0.35s var(--ease-silk);
}

.social-btn svg {
  width: clamp(13px, 2.2vw, 17px);
  height: clamp(13px, 2.2vw, 17px);
  fill: currentColor;
  display: block;
}

.social-btn:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px) scale(1.08);
}

/* Social accent colors on hover — todos en blanco */
.social-btn.instagram:hover,
.social-btn.facebook:hover,
.social-btn.telegram:hover,
.social-btn.tiktok:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ── Animations ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile portrait refinements ── */
@media (max-width: 480px) {
  .logo-name {
    letter-spacing: 0.18em;
  }
  .tagline {
    font-size: clamp(0.95rem, 4.8vw, 1.2rem);
    padding: 0 1rem;
  }
  .btn-catalog {
    letter-spacing: 0.25em;
  }
}

/* ── Landscape mobile ── */
@media (max-height: 480px) {
  .top-block { gap: 0.25rem; }
  .ornament  { margin-top: 0.2rem; }
  .tagline   { font-size: 1.5rem; margin-top: 0.1rem; }
}
