/* Phần "Về chúng tôi" – hoạt hình dễ thương, hoa lá chuyển động nhẹ */
.about {
  --a-pink: #F7C6D0;
  --a-rose: #B83F69;
  --a-green: #496B50;
  --a-cream: #FFF9F3;
  --a-lav: #F0E8F5;
  --a-card: #FFFDF9;
  --a-text: #5f5458;
  position: relative;
  overflow: hidden;
  padding-block: 76px 84px;
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 198, 208, .45) 0, rgba(247, 198, 208, 0) 260px),
    radial-gradient(circle at 88% 72%, rgba(240, 232, 245, .95) 0, rgba(240, 232, 245, 0) 320px),
    linear-gradient(180deg, var(--a-cream) 0%, var(--a-lav) 55%, var(--a-cream) 100%);
}
.about .container { position: relative; z-index: 1; }

/* ---------- Tiêu đề ---------- */
.about-head { position: relative; text-align: center; max-width: 640px; margin: 0 auto 46px; }
.about-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--a-green); background: #ffffff; border: 1.5px solid var(--a-pink); border-radius: 999px;
  padding: 9px 18px; box-shadow: 0 8px 18px -12px rgba(184, 63, 105, .5);
}
.about-label svg { width: 14px; height: 14px; }
.about-title {
  font-family: "Dancing Script", "Great Vibes", var(--display); font-weight: 700;
  font-size: clamp(46px, 7.4vw, 76px); line-height: 1.04; margin-top: 18px; letter-spacing: 0;
}
.about-title .l1 { display: block; color: var(--a-rose); }
.about-title .l2 { display: block; color: var(--a-green); }
.about-squiggle { display: block; width: 190px; height: 20px; margin: 12px auto 0; color: var(--a-pink); }

.deco { position: absolute; pointer-events: none; }
.deco-heart { width: 26px; height: 26px; animation: a-bob 3.2s ease-in-out infinite; }
.deco-heart.h1 { left: 2%; top: 58px; color: var(--a-rose); }
.deco-heart.h2 { right: 4%; top: 30px; width: 20px; height: 20px; color: var(--a-pink); animation-delay: -1.2s; }
.deco-heart.h3 { right: 0; top: 128px; width: 16px; height: 16px; color: var(--a-rose); opacity: .7; animation-delay: -2s; }
.deco-spark { width: 22px; height: 22px; left: 10%; top: 150px; color: #E7C27D; animation: a-twinkle 3.6s ease-in-out infinite; }

/* Cành hoa ở góc */
.branch { position: absolute; z-index: 0; width: 130px; transform-origin: 50% 100%; animation: a-sway 6s ease-in-out infinite; pointer-events: none; }
.branch svg { width: 100%; height: auto; display: block; }
.branch-left { left: -18px; bottom: 30px; }
.branch-right { right: -14px; top: 40px; width: 110px; animation-delay: -2.5s; animation-duration: 7s; }

/* Cánh hoa rơi */
.petal {
  position: absolute; top: -30px; z-index: 0; width: 14px; height: 10px;
  background: var(--a-pink); border-radius: 70% 0 70% 0; opacity: 0;
  animation: a-fall 13s linear infinite; pointer-events: none;
}
.petal:nth-child(1) { left: 8%;  animation-delay: 0s; }
.petal:nth-child(2) { left: 26%; animation-delay: -4s; animation-duration: 15s; background: #F9D9E1; }
.petal:nth-child(3) { left: 47%; animation-delay: -8s; width: 11px; height: 8px; }
.petal:nth-child(4) { left: 64%; animation-delay: -2s; animation-duration: 16s; background: #EFD8F2; }
.petal:nth-child(5) { left: 81%; animation-delay: -10s; }
.petal:nth-child(6) { left: 93%; animation-delay: -6s; animation-duration: 14s; width: 10px; height: 8px; background: #F9D9E1; }

/* ---------- 3 thẻ ---------- */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-cards > .reveal { min-width: 0; display: flex; }
.about-card {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--a-card); border: 1.5px solid #F6E1E7; border-radius: 32px;
  padding: 26px 24px 32px;
  box-shadow: 0 14px 34px -20px rgba(184, 63, 105, .38);
  transition: transform .35s ease, box-shadow .35s ease;
}
.about-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -20px rgba(184, 63, 105, .55); }
.about-art { position: relative; width: 100%; max-width: 230px; display: grid; place-items: center; }
.about-art::before {
  content: ""; position: absolute; inset: 6% 12% 4%; border-radius: 50%;
  background: radial-gradient(circle, var(--blob, #FBE1E7) 0%, var(--blob, #FBE1E7) 58%, rgba(255, 255, 255, 0) 72%);
}
.about-art svg { position: relative; width: 100%; height: auto; animation: a-float 4.8s ease-in-out infinite; }
.about-cards > .reveal:nth-child(2) .about-art svg { animation-delay: -1.6s; }
.about-cards > .reveal:nth-child(3) .about-art svg { animation-delay: -3.2s; }
.art-call { --blob: #E5EFE6; }
.about-art.art-photo { max-width: 100%; }
.about-art.art-photo::before { display: none; }
.about-art.art-photo img { display: block; width: 100%; height: auto; aspect-ratio: 529 / 355; object-fit: cover; border-radius: 22px; box-shadow: 0 16px 30px -20px rgba(184, 63, 105, .55); }
.art-bouquet { --blob: #FBE1E7; }
.art-check { --blob: #EDE3F4; }
.about-card h3 { font-family: var(--body); font-weight: 700; font-size: 23px; line-height: 1.25; color: var(--a-rose); margin-top: 4px; }
.about-card p { color: var(--a-text); font-size: 16px; line-height: 1.65; max-width: 30ch; }

/* ---------- Nút Zalo ---------- */
.about-cta { display: flex; justify-content: center; margin-top: 46px; }
.about-zalo {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  min-height: 66px; padding: 10px 30px 10px 10px; border-radius: 999px;
  background: #0068FF; color: #ffffff; text-decoration: none; text-align: left;
  box-shadow: 0 16px 30px -14px rgba(0, 104, 255, .7);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  animation: a-nudge 7s ease-in-out infinite;
}
.about-zalo:hover { background: #0057d6; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(0, 104, 255, .8); }
.about-zalo::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); animation: a-shine 7s ease-in-out infinite;
}
.z-badge { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #ffffff; color: #0068FF; display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .01em; }
.z-text { display: grid; line-height: 1.25; min-width: 0; }
.z-text strong { font-size: 17px; font-weight: 700; }
.z-text span { font-size: 15px; opacity: .92; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ---------- Xuất hiện khi cuộn tới ---------- */
.about.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.about.anim .reveal.in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes a-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1deg); } }
@keyframes a-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes a-bob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.06); } }
@keyframes a-twinkle { 0%, 100% { transform: scale(.8) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
@keyframes a-fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  8% { opacity: .9; }
  85% { opacity: .8; }
  100% { transform: translate(70px, 1100px) rotate(260deg); opacity: 0; }
}
@keyframes a-shine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
@keyframes a-nudge { 0%, 86%, 100% { transform: translateY(0); } 90% { transform: translateY(-4px); } 94% { transform: translateY(0); } 97% { transform: translateY(-2px); } }

/* ---------- Máy tính bảng / điện thoại ---------- */
@media (max-width: 900px) {
  .about-cards { gap: 18px; }
  .about-card { padding: 22px 16px 26px; border-radius: 26px; }
  .about-card h3 { font-size: 20px; }
  .about-card p { font-size: 15px; }
}
@media (max-width: 760px) {
  .about { padding-block: 56px 64px; }
  .about-cards { grid-template-columns: 1fr; gap: 20px; max-width: 440px; margin: 0 auto; }
  .about-card { padding: 22px 22px 28px; }
  .about-art { max-width: 200px; }
  .about-card h3 { font-size: 22px; }
  .about-card p { font-size: 16px; }
  .branch { width: 90px; opacity: .75; }
  .branch-right { width: 76px; top: 10px; }
  .deco-heart.h1 { left: 0; top: 70px; }
  .deco-heart.h3, .deco-spark { display: none; }
  .about-zalo { padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .about *, .about *::before, .about *::after { animation: none !important; }
  .about .petal { display: none; }
  .about-card, .about-zalo { transition: none; }
  .about-card:hover, .about-zalo:hover { transform: none; }
  .about.anim .reveal { opacity: 1; transform: none; }
}
