/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Pastel Palette */
  --rose: #F8C8D4;
  --rose-deep: #E8A0B4;
  --mint: #B8E0D2;
  --mint-deep: #8CCFB8;
  --lavender: #D4B8E0;
  --lavender-deep: #B893CC;
  --cream: #FFF5E1;
  --cream-deep: #F5E6C8;
  --white: #FEFEFE;
  --text-dark: #3A3A3A;
  --text-medium: #6B6B6B;
  --text-light: #9A9A9A;
  --shadow-soft: rgba(0, 0, 0, 0.06);
  --shadow-med: rgba(0, 0, 0, 0.10);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #fce4ec88, #e8f5e988, #f3e5f588);
  --grad-rose: linear-gradient(135deg, #F8C8D4, #f9dde4);
  --grad-mint: linear-gradient(135deg, #B8E0D2, #d4f0e7);
  --grad-lav: linear-gradient(135deg, #D4B8E0, #e6d4f0);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Lato', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container: min(90%, 1200px);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  /* Transition */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p:not(.section-subtitle) {
  text-align: justify;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== UTILITY ===== */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rose-deep);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: all .35s var(--ease);
}

.btn-primary {
  background: var(--rose-deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 160, 180, .35);
}

.btn-primary:hover {
  background: #d88da2;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 160, 180, .45);
}

.btn-outline {
  border: 2px solid var(--rose-deep);
  color: var(--rose-deep);
}

.btn-outline:hover {
  background: var(--rose-deep);
  color: #fff;
  transform: translateY(-3px);
}

.btn-sm {
  padding: .65rem 1.6rem;
  font-size: .85rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  padding: 1.2rem 0;
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  background: rgba(254, 254, 254, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px var(--shadow-soft);
  padding: .8rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.navbar-logo span {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .5px;
  position: relative;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-deep);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.nav-links a:hover {
  color: var(--rose-deep);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-wa-btn {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nav-wa-btn {
    padding: 0.6rem;
    font-size: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
  }

  .nav-wa-btn svg {
    margin-right: 0 !important;
    width: 20px;
    height: 20px;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: all .3s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fef0f3 0%, #f0faf5 40%, #f5f0fa 80%, #fef8ed 100%);
  padding-top: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(248, 200, 212, .35) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: floatBlob 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 224, 210, .3) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.08);
  }
}

/* ── DESKTOP: 2-column grid ── */
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* hero-content = left column, hero-image = right column */
.hero-content {
  grid-column: 1;
}

.hero-image {
  grid-column: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(248, 200, 212, .3);
  border: 1px solid rgba(248, 200, 212, .5);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-deep);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(248, 200, 212, .35);
  border-radius: 4px;
  z-index: -1;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.hero-stat strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--rose-deep);
}

.hero-stat span {
  font-size: .85rem;
  color: var(--text-light);
}

/* Hero image — desktop: right column */
.hero-image {
  grid-column: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 520px;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .08);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}



.hero-image .floating-tag {
  position: absolute;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  box-shadow: 0 8px 24px var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  animation: tagFloat 5s ease-in-out infinite;
}

.floating-tag.tag-top {
  top: 8%;
  right: -5%;
  animation-delay: .5s;
}

.floating-tag.tag-bottom {
  bottom: 12%;
  left: -5%;
  animation-delay: 1.5s;
}

@keyframes tagFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px var(--shadow-soft);
}

.about-image .experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--grad-rose);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 12px 32px rgba(248, 200, 212, .35);
  text-align: center;
}

.experience-badge strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2rem;
  color: var(--text-dark);
}

.experience-badge span {
  font-size: .85rem;
  color: var(--text-medium);
}

.about-content .about-text {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .92rem;
}

.about-feature .icon {
  width: 36px;
  height: 36px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #fef8fa 0%, var(--white) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: rgba(255, 255, 255, .70);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 20px 20px 0 0;
  transition: height .4s var(--ease);
}

.service-card:nth-child(1)::before {
  background: var(--grad-rose);
}

.service-card:nth-child(2)::before {
  background: var(--grad-mint);
}

.service-card:nth-child(3)::before {
  background: var(--grad-lav);
}

.service-card:nth-child(4)::before {
  background: linear-gradient(135deg, var(--cream-deep), var(--cream));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px var(--shadow-med);
}

.service-card:hover::before {
  height: 6px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.service-card:nth-child(1) .service-icon {
  background: rgba(248, 200, 212, .25);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(184, 224, 210, .25);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(212, 184, 224, .25);
}

.service-card:nth-child(4) .service-icon {
  background: rgba(255, 245, 225, .5);
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .93rem;
  color: var(--text-medium);
  line-height: 1.65;
}

/* ===== PRODUCTS ===== */
.products {
  padding: var(--section-py) 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 4px 16px var(--shadow-soft);
  transition: all .4s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px var(--shadow-med);
}

.product-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--rose-deep);
}

.product-info {
  padding: 1.4rem;
}

.product-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  margin-bottom: .4rem;
}

.product-info p {
  font-size: .88rem;
  color: var(--text-medium);
  margin-bottom: .8rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.1rem;
  transition: all .3s var(--ease);
  text-decoration: none;
}

.product-btn:hover {
  background: var(--rose-deep);
  color: #fff;
  transform: scale(1.1);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #f4faf7 0%, #fef0f380 50%, #faf5fc 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all .4s var(--ease);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-soft);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--rose);
  line-height: 1;
  margin-bottom: .6rem;
  font-family: var(--ff-heading);
}

.testimonial-card p {
  font-size: .95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testimonial-stars {
  color: #f5c542;
  font-size: .9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose);
}

.testimonial-author-info strong {
  display: block;
  font-size: .9rem;
}

.testimonial-author-info span {
  font-size: .8rem;
  color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
}

.contact-item span {
  font-size: .88rem;
  color: var(--text-medium);
}

.contact-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.contact-florist-img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px var(--shadow-med);
  object-fit: cover;
  border: 4px solid var(--white);
  transition: transform .5s var(--ease);
}

.contact-image-wrapper:hover .contact-florist-img {
  transform: scale(1.02);
}

.contact-image-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  border-left: 4px solid var(--rose-deep);
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-icon {
  font-size: 1.8rem;
}

.badge-text strong {
  display: block;
  font-family: var(--ff-heading);
  color: var(--text-dark);
  font-size: 1rem;
}

.badge-text span {
  font-size: .8rem;
  color: var(--text-medium);
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .contact-image-badge {
    left: 0;
    bottom: -1rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(160deg, #2d2d2d, #1a1a1a);
  color: rgba(255, 255, 255, .8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .navbar-logo {
  color: var(--rose);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .3s var(--ease);
}

.footer-social a:hover {
  background: var(--rose-deep);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer ul li {
  margin-bottom: .6rem;
}

.footer ul a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  transition: color .3s;
}

.footer ul a:hover {
  color: var(--rose);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all .8s var(--ease);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all .8s var(--ease);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(254, 254, 254, .96);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 600;
  transition: color .3s;
}

.mobile-nav a:hover {
  color: var(--rose-deep);
}

/* ===== FLOATING FACEBOOK BUTTON ===== */
.facebook-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #1877F2;
  /* Facebook Blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(24, 119, 242, .4);
  z-index: 999;
  transition: all .3s var(--ease);
  animation: facebookPulse 2s ease-in-out infinite;
}

.facebook-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(24, 119, 242, .55);
}

@keyframes facebookPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(24, 119, 242, .4);
  }

  50% {
    box-shadow: 0 6px 24px rgba(24, 119, 242, .65), 0 0 0 12px rgba(24, 119, 242, .12);
  }
}

/* ===== FÚNEBRES ===== */
.funebres {
  position: relative;
  padding: var(--section-py) 0;
  background: #e8dfec;
  /* Morado fúnebre pastel */
  overflow: hidden;
  /* Keep the long ribbon tail within bounds */
}

.funebres-ribbon-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 300px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.15;
  /* Subtle and respectful */
  z-index: 1;
}

.funebres-ribbon {
  width: 100%;
  height: 100%;
}

.funebres .container {
  position: relative;
  z-index: 2;
  /* Move content above the ribbon */
}

.funebres .section-subtitle {
  max-width: 850px;
}

.funebres-grid {
  display: flex;
  overflow: hidden;
  /* Hide scrollbars for the ticker effect */
  margin-top: 1rem;
  padding: 0.5rem 0 2.5rem;
  position: relative;
}

.funebres-track {
  display: flex;
  gap: 1.8rem;
  animation: scrollFunebres 40s linear infinite;
  width: max-content;
}

.funebres-track:hover {
  animation-play-state: paused;
}

@keyframes scrollFunebres {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.9rem));
    /* Moves half the total track width + half of one gap */
  }
}

.funebres-grid::-webkit-scrollbar {
  height: 6px;
}

.funebres-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.funebres-grid::-webkit-scrollbar-thumb {
  background: var(--rose-deep);
  border-radius: 10px;
}

.funebre-item {
  flex: 0 0 320px;
  /* Fixed width for consistent ticker speed */
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow-soft);
  transition: all .4s var(--ease);
  background: #fff;
}

.funebre-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--shadow-med);
}

.funebre-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.funebre-item:hover img {
  transform: scale(1.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxZoomIn .35s var(--ease);
}

.lightbox.active .lightbox-content {
  animation: lightboxZoomIn .35s var(--ease);
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, .3);
  transform: translateY(-50%) scale(1.1);
}

/* Zoom button on product cards */
.product-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--rose-deep);
  opacity: 0;
  transform: scale(.8);
  transition: all .3s var(--ease);
  z-index: 2;
}

.product-card:hover .product-zoom,
.funebre-item:hover .product-zoom {
  opacity: 1;
  transform: scale(1);
}

.product-zoom:hover {
  background: var(--rose-deep);
  color: #fff;
  transform: scale(1.15);
}



/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .05);
  transition: all .4s var(--ease);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color .3s;
}

.mobile-nav a:hover {
  color: var(--rose-deep);
}



/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

  /* Hero: stack vertically, image between title and text */
  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  /* hero-content first, hero-image second */
  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-image {
    order: 2;
    width: 100%;
    max-width: 420px;
    margin: 1.5rem 0;
  }

  /* Inside hero-content: badge(0) → h1(1) → text(2) → buttons(3) → stats(4) */
  .hero-badge {
    order: 0;
    margin-bottom: 1rem;
  }

  .hero h1 {
    order: 1;
    margin-bottom: 0;
  }

  .hero-text {
    order: 3;
    margin-inline: auto;
    margin-top: 1.5rem;
  }

  .hero-buttons {
    order: 4;
    justify-content: center;
  }

  .hero-stats {
    order: 5;
    justify-content: center;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 480px;
    margin-inline: auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-right {
    display: none;
  }

  .contact-info-list {
    max-width: 500px;
    width: fit-content;
    margin-inline: auto;
  }

  .contact-item {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 4rem;
    min-height: auto;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  /* Force vertical order: Title -> Image -> Text */
  .hero-content {
    display: contents;
    /* Makes children part of the main grid */
  }

  .hero-badge {
    grid-row: 1;
    margin-inline: auto;
    margin-bottom: 0.5rem;
  }

  .hero h1 {
    grid-row: 2;
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 0;
  }

  .hero-image {
    grid-column: 1;
    /* Override the desktop grid-column: 2 */
    grid-row: 3;
    /* IMAGE UNDER TITLE */
    margin-top: 1rem;
    display: flex;
    justify-content: center;
  }

  .hero-text {
    grid-row: 4;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-inline: auto;
  }

  .hero-buttons {
    grid-row: 5;
    justify-content: center;
    gap: 1rem;
    display: flex;
  }

  .hero-stats {
    grid-row: 6;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
    display: flex;
  }

  .hero-stat {
    flex: 1 1 120px;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-image-wrapper {
    margin-top: 3rem;
  }

  .contact-image-badge {
    left: 50%;
    bottom: -1rem;
    transform: translateX(-50%);
    width: 90%;
    justify-content: center;
  }

  @keyframes badgeFloat {

    0%,
    100% {
      transform: translateX(-50%) translateY(0);
    }

    50% {
      transform: translateX(-50%) translateY(-10px);
    }
  }

  .floating-tag {
    display: none;
  }

  .hero-badge {
    display: none;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    display: grid;
    /* Switch from flex/overflow to grid stack */
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .service-card {
    flex: none;
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .funebre-item {
    flex: 0 0 260px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .navbar {
    padding: 0.8rem 0;
  }

  .navbar-logo {
    font-size: 1.25rem;
  }

  .navbar-logo span {
    font-size: 1.4rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .about-image .experience-badge {
    right: 1rem;
    bottom: -1rem;
    padding: 0.8rem 1.2rem;
  }

  .experience-badge strong {
    font-size: 1.5rem;
  }
}

@media (max-width: 380px) {
  .navbar-logo {
    font-size: 1.1rem;
  }

  .hero-buttons {
    gap: 0.8rem;
  }
}