/* ================================================
   BLANC PASTELERÍA — Styles
   Responsive: Mobile-first (320px → 1440px+)
   ================================================ */

/* ─── GOOGLE FONTS (también en HTML como fallback) ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

/* ─── VARIABLES ─── */
:root {
  --rose-deep:  #c9849a;
  --rose-mid:   #e8aab8;
  --rose-soft:  #f2c8d2;
  --rose-blush: #f9e4e9;
  --rose-pale:  #fdf0f3;
  --rose-light: #fff6f8;
  --cream:      #fefaf8;
  --text-dark:  #3a2530;
  --text-mid:   #7a5060;
  --text-light: #b08090;

  --nav-h: 68px;
  --radius-card: 20px;
  --radius-pill: 60px;

  --shadow-card: 0 8px 30px rgba(180, 100, 120, 0.12);
  --shadow-hover: 0 24px 60px rgba(180, 100, 120, 0.22);
  --shadow-btn:  0 8px 28px rgba(201, 132, 154, 0.45);
}

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

html  { scroll-behavior: smooth; font-size: 16px; }

body  {
  font-family: 'Jost', sans-serif;
  background: var(--rose-pale);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 35px rgba(180,100,120,0.5); }
  50%       { box-shadow: 0 10px 50px rgba(180,100,120,0.75); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(253, 240, 243, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 132, 154, 0.15);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(180,100,120,0.1);
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--rose-deep);
  text-transform: uppercase;
}

.nav__links {
  display: flex; gap: 40px;
}
.nav__links a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--rose-deep); }

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--rose-deep);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(253,240,243,0.97);
  backdrop-filter: blur(20px);
  padding: 30px clamp(20px, 6vw, 40px);
  display: flex; flex-direction: column; gap: 22px;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 190;
  border-bottom: 1px solid rgba(201,132,154,0.15);
}
.nav__drawer.open { transform: translateY(0); }
.nav__drawer a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(201,132,154,0.18);
  padding-bottom: 18px;
  transition: color 0.3s;
}
.nav__drawer a:hover { color: var(--rose-deep); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--rose-pale) 0%, var(--rose-blush) 55%, var(--rose-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,170,184,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,132,154,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 8vh, 100px) clamp(24px, 5vw, 60px) clamp(40px, 8vh, 80px) clamp(24px, 6vw, 80px);
  position: relative; z-index: 2;
}

.hero__eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 300;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--text-dark);
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
}
.hero__title em { font-style: italic; color: var(--rose-deep); }

.hero__subtitle {
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 400px;
  margin-bottom: 46px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.6s;
}

.hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose-mid));
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: fit-content;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.8s;
}
.hero__cta::after { content: '→'; font-size: 1rem; transition: transform 0.3s; }
.hero__cta:hover  { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,132,154,0.55); }
.hero__cta:hover::after { transform: translateX(5px); }

.hero__img-col {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 60px) clamp(40px, 8vh, 80px) 10px;
  position: relative; z-index: 2;
}

.hero__img-wrap {
  position: relative; width: 460px; height: 520px;
  max-width: 100%;
  opacity: 0;
  animation: fadeIn 1.1s ease forwards 0.5s;
}
.hero__img-wrap img {
  width: 380px; height: 420px; max-width: 90%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 80px rgba(180, 100, 120, 0.3);
}

.hero__badge {
  position: absolute; bottom: 30px; right: 0;
  background: white;
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 12px 40px rgba(180,100,120,0.18);
  text-align: center;
}
.hero__badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: var(--rose-deep); line-height: 1;
}
.hero__badge .lbl {
  font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-light); margin-top: 4px;
}

/* ══════════════════════════════════════
   DIVIDER
══════════════════════════════════════ */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 48px 24px 10px;
}
.divider__line {
  flex: 1; max-width: 200px; height: 1px;
  background: linear-gradient(to right, transparent, var(--rose-mid), transparent);
}
.divider__icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--rose-deep); letter-spacing: 0.3em;
}

/* ══════════════════════════════════════
   SECTION HEADING (shared)
══════════════════════════════════════ */
.section-heading {
  text-align: center;
  padding: 0 24px 56px;
}
.section-heading__eyebrow {
  font-size: 0.62rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--rose-deep);
  font-weight: 300; margin-bottom: 14px;
}
.section-heading__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--text-dark); line-height: 1.2;
}
.section-heading__title em { font-style: italic; color: var(--rose-deep); }

/* ══════════════════════════════════════
   PRODUCTS
══════════════════════════════════════ */
.products {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  background: linear-gradient(180deg, var(--rose-pale) 0%, var(--rose-blush) 100%);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

/* card base */
.card {
  background: rgba(255,255,255,0.78);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(232,170,184,0.22);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,132,154,0.38);
}

.card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.card--featured .card__img { height: 100%; min-height: 320px; }

.card__img {
  width: 100%; height: 270px;
  object-fit: cover;
}

.card__body { padding: 24px 26px 28px; }
.card--featured .card__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 36px 40px;
}

.card__tag {
  font-size: 0.58rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--rose-deep);
  background: rgba(201,132,154,0.1);
  padding: 5px 12px; border-radius: 20px;
  display: inline-block; margin-bottom: 14px;
}

.card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 10px; line-height: 1.3;
}
.card--featured .card__name { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.card__desc {
  font-size: 0.76rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.85; margin-bottom: 20px;
}

.card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; color: var(--rose-deep);
}
.card__price span {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.14em;
  font-weight: 300; color: var(--text-light);
  vertical-align: middle; margin-left: 6px;
}

/* ══════════════════════════════════════
   BANNER
══════════════════════════════════════ */
.banner {
  padding: clamp(60px, 8vw, 90px) clamp(24px, 5vw, 80px);
  background: linear-gradient(135deg, #e8aab8 0%, #d4899d 40%, #c9849a 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  position: relative; overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.banner::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.banner__text { position: relative; z-index: 2; }

.banner__eyebrow {
  font-size: 0.62rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  font-weight: 300; margin-bottom: 18px;
}
.banner__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300; color: white; line-height: 1.15;
  margin-bottom: 20px;
}
.banner__title em { font-style: italic; }
.banner__body {
  font-size: clamp(0.8rem, 1.1vw, 0.88rem);
  font-weight: 300; color: rgba(255,255,255,0.85);
  line-height: 1.95; max-width: 400px;
}

.banner__imgs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; position: relative; z-index: 2;
}
.banner__img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(120,60,80,0.3);
}
.banner__img-wrap:first-child { margin-top: 30px; }
.banner__img-wrap:last-child  { margin-top: -30px; }
.banner__img-wrap img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.banner__img-wrap:hover img { transform: scale(1.05); }

/* ══════════════════════════════════════
   SPECIALTIES
══════════════════════════════════════ */
.specialties {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  background: linear-gradient(180deg, var(--rose-blush) 0%, var(--rose-pale) 100%);
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1240px; margin: 0 auto;
}

.spec-card {
  background: white;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(232,170,184,0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(180,100,120,0.18);
}
.spec-card__img {
  width: 100%; height: 220px; object-fit: cover;
}
.spec-card__body {
  padding: 20px 22px 24px;
  background: linear-gradient(135deg, white, var(--rose-light));
}
.spec-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 8px;
}
.spec-card__desc {
  font-size: 0.72rem; font-weight: 300;
  color: var(--text-light); line-height: 1.75;
}

/* ══════════════════════════════════════
   QUOTE
══════════════════════════════════════ */
.quote {
  padding: clamp(60px, 8vw, 90px) clamp(24px, 8vw, 100px);
  text-align: center;
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose-blush) 50%, var(--rose-soft) 100%);
  position: relative; overflow: hidden;
}
.quote::before {
  content: '"';
  position: absolute; top: -60px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12rem, 20vw, 20rem);
  color: rgba(201,132,154,0.1);
  line-height: 1; pointer-events: none;
}
.quote__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300; font-style: italic;
  color: var(--text-dark);
  max-width: 720px; margin: 0 auto 22px;
  line-height: 1.55; position: relative; z-index: 2;
}
.quote__author {
  font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--rose-deep);
  font-weight: 300; position: relative; z-index: 2;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--text-dark); color: rgba(255,255,255,0.58);
  padding: clamp(50px, 7vw, 80px) clamp(24px, 6vw, 80px) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
}

.footer__brand .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; letter-spacing: 0.3em;
  color: var(--rose-soft); text-transform: uppercase; margin-bottom: 16px;
}
.footer__brand p {
  font-size: 0.76rem; font-weight: 300; line-height: 1.9; max-width: 260px;
}

.footer__col h4 {
  font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--rose-soft);
  margin-bottom: 20px; font-weight: 400;
}
.footer__col li {
  font-size: 0.76rem; font-weight: 300;
  margin-bottom: 11px; cursor: pointer; transition: color 0.3s;
}
.footer__col li:hover { color: var(--rose-soft); }

.footer__bottom {
  background: var(--text-dark);
  margin-top: clamp(40px, 6vw, 60px);
  padding: 20px clamp(24px, 6vw, 80px);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__bottom p { font-size: 0.66rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.28); }
.footer__hearts  { color: var(--rose-soft); }

/* ══════════════════════════════════════
   FLOATING ORDER BUTTON
══════════════════════════════════════ */
.float-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--rose-deep), #b87090);
  color: white;
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 10px 35px rgba(180,100,120,0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: pulseGlow 3s ease-in-out infinite;
}
.float-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 16px 45px rgba(180,100,120,0.65);
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: 1fr 1fr;
  }
  .card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }

  .specialties__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet Portrait (≤ 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Nav */
  .nav__links  { display: none; }
  .nav__burger { display: flex; }

  /* Hero: columna única */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero__img-col  { display: none; } /* ocultamos imagen en mobile, header ya tiene info */
  .hero__text {
    padding: 50px 28px 60px;
    text-align: center;
    align-items: center;
  }
  .hero__subtitle { max-width: 100%; }
  .hero::before, .hero::after { display: none; }

  /* Products */
  .products__grid { grid-template-columns: 1fr; gap: 20px; }
  .card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .card--featured .card__img { height: 260px; }
  .card--featured .card__body { padding: 26px 26px 30px; }

  /* Banner */
  .banner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .banner__imgs { max-width: 400px; justify-self: center; width: 100%; }

  /* Specialties */
  .specialties__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .spec-card__img { height: 180px; }

  /* Footer */
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 0;
  }
  .footer__brand { grid-column: span 2; }
  .footer__bottom {
    flex-direction: column; gap: 10px; text-align: center;
  }

  /* Float btn */
  .float-btn { bottom: 20px; right: 16px; padding: 12px 20px; font-size: 0.62rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile (≤ 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .products__grid { gap: 16px; }
  .card__img { height: 230px; }

  .specialties__grid { grid-template-columns: 1fr; }
  .spec-card__img { height: 200px; }

  .banner__imgs {
    grid-template-columns: 1fr 1fr;
  }
  .banner__img-wrap:first-child { margin-top: 20px; }
  .banner__img-wrap:last-child  { margin-top: -20px; }
  .banner__img-wrap img { height: 160px; }

  .footer { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }

  .divider__line { max-width: 80px; }

  .quote { padding: 60px 20px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 360px)
══════════════════════════════════════ */
@media (max-width: 360px) {
  .hero__title { font-size: 2.6rem; }
  .card__img   { height: 200px; }
  .float-btn   { right: 12px; bottom: 16px; }
}
