:root {
  --rosa: #c8647a;
  --rosa-d: #b04e63;
  --crema: #fff8f0;
  --verde: #2f5d3a;
  --tinta: #2b2430;
  --fondo: #fdf7f0;
  --card: #ffffff;
  --linea: #efdccb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.55;
}

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

h1, h2 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 247, 240, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linea);
}
.nav { display: flex; align-items: center; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--verde); }
.brand-logo { width: 40px; height: 40px; color: var(--rosa); }
.brand-name { font-size: 1.5rem; font-weight: 700; color: var(--tinta); }
.nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--tinta); text-decoration: none; font-size: 1.05rem; }
.nav-links a:hover { color: var(--rosa); }

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--verde); color: #fff; }
.btn-primary { background: var(--rosa); color: #fff; }
.btn-ghost { background: transparent; color: var(--verde); border: 1.5px solid var(--verde); }
.btn-cta, .btn-primary { box-shadow: 0 6px 16px -8px rgba(200, 100, 122, 0.6); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--rosa-d); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--verde); margin-bottom: 18px; }
.hero-sub { font-size: 1.2rem; color: #5b4f5e; max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }
.bouquet { width: min(340px, 90%); color: var(--rosa); }
.bouquet .p1 { color: #e0788c; opacity: 0.92; }
.bouquet .p3 { color: #e08d9b; opacity: 0.85; }
.bouquet .p4 { color: #d46f88; opacity: 0.95; }
.bouquet .p5 { color: #ef9fb0; opacity: 0.9; }
.bouquet .ctr { color: #fff2ea; opacity: 1; }
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.bloom { transform-origin: 160px 300px; animation: sway 5s ease-in-out infinite; }
.bloom.p2 { animation-delay: 0.4s; }
.bloom.p3 { animation-delay: 0.9s; }
.bloom.p4 { animation-delay: 1.4s; }
.bloom.p5 { animation-delay: 1.9s; animation-duration: 6s; }

/* Tienda */
.tienda, .nosotros, .contacto { padding: 72px 0; }
.tienda h2, .nosotros h2, .contacto h2 { font-size: 2.4rem; color: var(--verde); margin-bottom: 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--linea);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-art { aspect-ratio: 1 / 0.85; display: grid; place-items: center; padding: 20px; }
.card-art svg { width: 78%; height: 78%; }
.card-body { padding: 18px 20px 22px; border-top: 1px solid var(--fondo); }
.card-body h3 { margin: 0 0 4px; font-size: 1.25rem; }
.card-price { color: var(--rosa-d); font-weight: 700; margin-bottom: 10px; }
.card-desc { font-size: 0.95rem; color: #6d5f6e; margin-bottom: 14px; }
.card-btn {
  width: 100%;
  background: var(--fondo);
  color: var(--verde);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
}
.card-btn:hover { background: #fff; }

/* Nosotros */
.nosotros { background: #fbf1ec; border-block: 1px solid var(--linea); }
.nosotros-inner { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.floreria-badge { color: var(--rosa); display: grid; place-items: center; }
.floreria-badge svg { width: 240px; height: 240px; }
.badge-bloom { animation: sway 6s ease-in-out infinite; transform-origin: 80px 80px; }
.nosotros-copy p { font-size: 1.1rem; color: #5b4f5e; margin-bottom: 16px; }
.nosotros-copy h2 { margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { padding: 6px 0 6px 28px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rosa);
}
.checks li::after {
  content: "✓"; position: absolute; left: 3px; top: 6px;
  color: #fff; font-size: 12px; font-weight: 700;
}
.legal-note { font-size: 0.95rem !important; color: #7a6c7b !important; border-left: 3px solid var(--rosa); padding-left: 14px; }

/* Contacto */
.contacto { background: var(--fondo); }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.oficinas address { font-style: normal; display: grid; gap: 18px; margin: 8px 0 22px; }
.oficinas address p { line-height: 1.5; }
.oficinas address a { color: var(--rosa-d); }
.social { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.social span { color: #6d5f6e; margin-right: 4px; }
.social a, .footer-inner .social a {
  text-decoration: none; color: var(--verde); font-weight: 700;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1.5px solid var(--verde); border-radius: 50%; font-size: 0.85rem;
  transition: all 0.15s ease;
}
.social a:hover { background: var(--verde); color: #fff; }

.pedido { background: var(--card); border: 1px solid var(--linea); border-radius: 22px; padding: 30px; }
.pedido h2 { margin-bottom: 16px; color: var(--tinta); }
.pedido label { display: block; font-weight: 600; margin-bottom: 14px; }
.pedido input, .pedido textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--linea); border-radius: 12px;
  font: inherit; background: var(--fondo); resize: vertical;
}
.pedido input:focus, .pedido textarea:focus { outline: 2px solid var(--rosa); border-color: transparent; }
.pedido .btn { width: 100%; margin-top: 6px; }
.form-note { color: var(--verde); font-weight: 600; margin-top: 14px; text-align: center; }

/* Footer */
.site-footer { background: var(--verde); color: #f6ece0; padding: 34px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-inner .brand-name { color: #f6ece0; }
.footer-inner p { font-size: 0.9rem; opacity: 0.85; }
.footer-inner .social { margin-left: auto; }
.footer-inner .social a { color: #f6ece0; border-color: rgba(246, 236, 224, 0.6); }
.footer-inner .social a:hover { background: #f6ece0; color: var(--verde); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .bouquet { width: min(240px, 80%); }
  .nosotros-inner, .contacto-inner { grid-template-columns: 1fr; }
  .floreria-badge { display: none; }
  .footer-inner .social { margin-left: 0; }
}