/* ============================================================
   Andrea y sus encantos de flores
   Elegant romantic florist — blush + rose + gold
   ============================================================ */

:root {
  /* Palette */
  --blush:      #FFF5F7;
  --blush-2:    #FDEDF1;
  --cream:      #FFFBF8;
  --white:      #FFFFFF;

  --rose:       #D6618A;   /* primary */
  --rose-deep:  #B23E6B;   /* hover */
  --rose-soft:  #F6CFDD;

  --wine:       #4E1B2E;   /* headings */
  --ink:        #6E5560;   /* body text */
  --muted:      #9A7E8A;

  --gold:       #C29B5A;
  --gold-deep:  #A97F3D;
  --gold-soft:  #EBD9B4;

  /* Effects */
  --line:       rgba(78, 27, 46, 0.10);
  --shadow-sm:  0 8px 24px rgba(78, 27, 46, 0.07);
  --shadow-md:  0 16px 40px rgba(78, 27, 46, 0.10);
  --shadow-lg:  0 30px 70px rgba(78, 27, 46, 0.16);

  --radius:     22px;
  --radius-lg:  34px;
  --maxw:       1160px;
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, #FFE8EF 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 30%, #FFF1E9 0%, transparent 50%),
    linear-gradient(180deg, var(--blush) 0%, var(--cream) 55%, var(--blush) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

::selection { background: var(--rose-soft); color: var(--wine); }

/* Headings */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--wine);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(46px, 7vw, 86px); line-height: 1.02; font-weight: 700; }
h1 em { font-style: italic; color: var(--rose); font-weight: 600; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h3 { font-size: 26px; line-height: 1.2; }

/* Script eyebrow */
.script-eyebrow {
  font-family: 'Great Vibes', cursive;
  color: var(--rose);
  font-size: 30px;
  line-height: 1;
  margin: 0 0 10px;
}
.script-eyebrow.center { text-align: center; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Announcement bar ---------- */
.announce {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 18px;
  background: linear-gradient(90deg, var(--wine), #6E2B43);
  color: #FBE7EE;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.announce .dot { color: var(--gold-soft); font-size: 11px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 251, 248, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--rose);
  background: var(--white);
  border: 1px solid var(--rose-soft);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-script { font-family: 'Great Vibes', cursive; font-size: 28px; color: var(--wine); }
.logo-sub {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { position: relative; color: var(--wine); transition: color 0.2s var(--ease); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--rose); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff !important;
  font-weight: 500;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--rose-deep); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { flex-shrink: 0; }
.primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  box-shadow: 0 14px 30px rgba(178, 62, 107, 0.32);
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(178, 62, 107, 0.42); }
.secondary {
  background: var(--white);
  color: var(--wine);
  border: 1px solid var(--rose-soft);
  box-shadow: var(--shadow-sm);
}
.secondary:hover { transform: translateY(-2px); border-color: var(--rose); color: var(--rose-deep); box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob-1 { width: 420px; height: 420px; top: -80px; right: -60px; background: #FFC9DC; }
.blob-2 { width: 360px; height: 360px; bottom: -120px; left: -100px; background: #FFE2C4; }

.hero h1 { margin: 6px 0 0; }
.hero-text { font-size: 19px; line-height: 1.75; max-width: 560px; margin: 24px 0 0; color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero-trust {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--wine);
}
.hero-trust svg { color: var(--gold-deep); }

/* Hero image */
.hero-card { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(145deg, #fff, var(--blush-2));
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--white);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-soft);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
  z-index: 2;
}
.hero-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}
.floating-card {
  position: absolute;
  left: -22px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--white);
  z-index: 3;
}
.fc-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blush);
  color: var(--rose);
  flex-shrink: 0;
}
.floating-card strong { display: block; color: var(--wine); font-size: 15px; }
.floating-card span { font-size: 13px; color: var(--muted); }
.signature {
  position: absolute;
  top: -22px;
  right: 16px;
  font-family: 'Great Vibes', cursive;
  font-size: 52px;
  color: var(--rose);
  transform: rotate(-6deg);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
  z-index: 3;
}

/* ---------- Features ---------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blush), var(--white));
  color: var(--rose);
  border: 1px solid var(--rose-soft);
  margin-bottom: 16px;
}
.feature strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--wine); font-weight: 600; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15.5px; }

/* ---------- Section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; text-align: center; }
.section-lead { max-width: 620px; margin: 14px auto 0; color: var(--ink); font-size: 17px; }

/* ---------- Products ---------- */
.products {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; overflow: hidden; }
.product-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-order {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rose-deep);
  font-weight: 500;
  font-size: 14.5px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover .product-order,
.product-card:focus-visible .product-order { opacity: 1; transform: translateY(0); }
.product-body { padding: 22px 24px 26px; }
.product-body h3 { margin-bottom: 6px; }
.product-body p { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.price {
  display: inline-block;
  font-weight: 600;
  color: var(--rose-deep);
  font-size: 15px;
  letter-spacing: 0.01em;
}

/* Custom CTA banner */
.custom-cta {
  margin-top: 48px;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,0.5), transparent),
    linear-gradient(135deg, var(--blush-2), #FFE9DC);
  border: 1px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.custom-cta p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--wine);
  font-weight: 500;
}

/* ---------- About ---------- */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.about-text p { line-height: 1.85; }
.about-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; color: var(--wine); font-size: 16px; }
.about-list svg { color: var(--gold-deep); flex-shrink: 0; }

.quote-card {
  position: relative;
  margin: 0;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--white), var(--blush));
  border: 1px solid var(--rose-soft);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 90px;
  line-height: 0.5;
  color: var(--rose-soft);
  display: block;
  height: 40px;
}
.quote-card blockquote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1.35;
  color: var(--wine);
}
.quote-card figcaption {
  margin-top: 18px;
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--rose);
}

/* ---------- Contact ---------- */
.contact-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.contact-item:hover { transform: translateY(-4px); border-color: var(--rose); box-shadow: var(--shadow-md); }
.contact-ic {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blush);
  color: var(--rose);
  flex-shrink: 0;
}
.contact-meta { display: flex; flex-direction: column; line-height: 1.4; }
.contact-meta strong { color: var(--wine); font-size: 16px; }
.contact-meta span { font-size: 14px; color: var(--muted); }

/* QR */
.qr-section {
  margin: 50px auto 0;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--rose-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
#qr-code { background: #fff; padding: 12px; border-radius: 16px; border: 1px solid var(--line); line-height: 0; }
#qr-code canvas, #qr-code img { display: block; }
.qr-text { text-align: left; }
.qr-label { margin: 0; color: var(--ink); font-size: 15px; }
.qr-name { margin: 6px 0 0; font-family: 'Great Vibes', cursive; font-size: 26px; color: var(--rose); line-height: 1.1; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 48px 24px 40px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.footer-brand { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-bottom: 14px; }
.footer-brand .logo-script { font-size: 34px; }
.footer p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34c759, #25a14a);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 161, 74, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(37, 161, 74, 0.55); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 161, 74, 0.45), 0 0 0 0 rgba(37, 161, 74, 0.4); }
  50% { box-shadow: 0 12px 30px rgba(37, 161, 74, 0.45), 0 0 0 14px rgba(37, 161, 74, 0); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 60px; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-frame img { height: 460px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .products, .features, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .products, .features, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 60px; }
  .hero-frame img { height: 420px; }
  .floating-card { left: 14px; bottom: 14px; }
  .signature { font-size: 42px; right: 10px; }
  .qr-section { flex-direction: column; text-align: center; }
  .qr-text { text-align: center; }
  .section { padding: 60px 20px; }
}

@media (max-width: 420px) {
  .hero-frame img { height: 360px; }
  .floating-card span { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
