@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

:root {
  --background: #ffffff;
  --foreground: #333333;
  --muted-foreground: #737373;
  --secondary: #fafafa;
  --border: #e5e5e5;

  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: rgba(220, 38, 38, 0.1);
  --primary-foreground: #ffffff;

  --accent: #f2c400;
  --accent-foreground: #333333;
  --accent-light: rgba(242, 196, 0, 0.1);

  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5c;

  --radius: 0.75rem;
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-pizza: 0 10px 30px rgba(220, 38, 38, 0.1);
  --shadow-cheese: 0 10px 30px rgba(234, 179, 8, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.font-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(242, 196, 0, 0.3);
}

.btn-outline {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.03);
}

.btn-block {
  width: 100%;
}

.icon-right {
  transition: transform 0.3s ease;
}

.btn:hover .icon-right {
  transform: translateX(4px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--background);
  box-shadow: var(--shadow-nav);
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.header.scrolled {
  padding: 0.65rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.header-logo-text h1 {
  font-size: 1.4rem;
  color: var(--foreground);
}

.header-logo-text .tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  color: rgba(51, 51, 51, 0.8);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(250, 250, 250, 0.8);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  box-shadow: var(--shadow-nav);
  padding: 5rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 90;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu .nav-link {
  width: 100%;
  text-align: center;
  font-size: 1.15rem;
  padding: 0.75rem;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 0.75rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .header-cta { display: flex; }
  .header-logo-text .tagline { display: block; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 2px, transparent 2px);
  background-size: 50px 50px;
  opacity: 0.1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(220,38,38,0.2), transparent, rgba(242,196,0,0.2));
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-title .script {
  font-family: 'Dancing Script', cursive;
  color: var(--accent);
  font-size: 1.4em;
  font-weight: 600;
}

.hero-slogan {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.hero-stats div {
  display: flex;
  align-items: center;
}

.hero-stats svg {
  color: var(--accent);
  margin-right: 0.5rem;
}

.hero-card {
  display: none;
  position: relative;
}

.hero-card-glow {
  position: absolute;
  inset: 0;
  background: rgba(242, 196, 0, 0.25);
  border-radius: 999px;
  filter: blur(60px);
  transform: rotate(12deg);
}

.hero-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.hero-card-inner img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.hero-card-inner h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero-card-inner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.9rem;
}

.hero-card-stats .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { display: block; }
  .hero-title { font-size: 3.5rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}

/* Scroll reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section heading */
.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 2.4rem; }
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 229, 229, 0.6);
  box-shadow: var(--shadow-card);
}

.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(220, 38, 38, 0.15);
}

/* About */
.about {
  background: #fff;
}

.about-row {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-row.reverse .about-media { order: 2; }
.about-row.reverse .about-copy { order: 1; }

.about-copy h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-copy h3 svg { color: var(--primary); flex-shrink: 0; }

.about-copy p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.about-quote {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 0.4rem;
  font-style: italic;
  font-weight: 500;
}

.about-quote.alt {
  background: var(--primary-light);
  border-left-color: var(--primary);
  font-style: normal;
}

.about-media {
  position: relative;
}

.about-media .decor {
  position: absolute;
  inset: 0;
  background: var(--primary-light);
  border-radius: 1rem;
  transform: rotate(3deg);
  z-index: 0;
}

.about-row.reverse .about-media .decor {
  background: var(--accent-light);
  transform: rotate(-3deg);
}

.about-media img,
.about-media video {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  box-shadow: var(--shadow-pizza);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-media video {
  height: auto;
  max-height: 500px;
  object-fit: contain;
  box-shadow: var(--shadow-cheese);
}

.about-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 0.6rem;
  padding: 1rem;
}

.about-caption h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-caption p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.about-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-card {
  padding: 1.75rem;
  text-align: center;
}

.about-card .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .about-row { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Products */
.products {
  background: var(--secondary);
}

.char-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.char-card {
  text-align: center;
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.char-card .icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.char-card .icon-circle svg { color: var(--accent); }

.char-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.char-card p {
  color: var(--muted-foreground);
}

.product-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-pizza);
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.product-media {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.product-media img,
.product-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.7s ease;
}

.product-card:hover .product-media img,
.product-card:hover .product-media video {
  transform: scale(1.1);
}

.product-media img.hidden {
  opacity: 0;
}

.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.product-media .icon-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  color: #fff;
}

.product-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.product-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.product-dots button.active {
  background: #fff;
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.product-body > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-features div {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.product-features span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--primary);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.products-cta {
  text-align: center;
}

.products-cta-box {
  background: var(--primary-light);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  max-width: 44rem;
  margin: 0 auto;
}

.products-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.products-cta-box p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .char-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-pizza);
}

.testimonial-top {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-top svg.quote {
  color: rgba(220, 38, 38, 0.3);
  margin-right: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.15rem;
}

.stars svg {
  color: var(--accent);
}

.testimonial-content {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
}

.testimonial-person img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid var(--primary-light);
}

.testimonial-person h4 {
  font-size: 1rem;
}

.testimonial-person p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.testimonial-banner {
  background: linear-gradient(90deg, var(--primary-light), var(--accent-light), var(--primary-light));
  border-radius: 1rem;
  padding: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.testimonial-banner-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.testimonial-banner img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.testimonial-banner-text {
  text-align: center;
}

.testimonial-banner-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.testimonial-banner-rating span {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.testimonial-banner-text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.testimonial-banner-text p {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-banner-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-banner-text { text-align: left; }
  .testimonial-banner-rating { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.contact-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(80px);
  z-index: 0;
}

.contact-blob.top { top: 0; right: 0; background: rgba(220, 38, 38, 0.05); transform: translate(50%, -50%); }
.contact-blob.bottom { bottom: 0; left: 0; width: 16rem; height: 16rem; background: rgba(242, 196, 0, 0.05); transform: translate(-50%, 50%); }

.contact-card {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-grid > div:first-child > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
}

.contact-info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 500;
}

.contact-info-item p {
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}

a.contact-info-item:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
}

.contact-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-highlight-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--primary-light);
  border-radius: 1rem;
  max-width: 26rem;
}

.contact-highlight-box img {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  border: 4px solid rgba(220, 38, 38, 0.2);
  object-fit: cover;
}

.contact-highlight-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.contact-highlight-box p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.contact-highlight-box .quote-line {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.contact-highlight-box .quote-line strong {
  font-family: 'Dancing Script', cursive;
  color: var(--primary);
  font-size: 1.1rem;
}

.map-wrap {
  margin-top: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.footer {
  background: #262626;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand h3 {
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer p.desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 20rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(220, 38, 38, 0.8);
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p.copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-bottom p.made-with {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p.made-with svg {
  color: #f87171;
  margin: 0 0.25rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.8);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.back-to-top:hover {
  background: rgba(220, 38, 38, 0.95);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-bottom p.made-with { justify-content: flex-start; }
}

/* WhatsApp floating button */
.whatsapp-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.whatsapp-wrap.visible {
  opacity: 1;
  visibility: visible;
}

.whatsapp-popup {
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  max-width: 18rem;
  border: 1px solid var(--primary-light);
  display: none;
}

.whatsapp-popup.open {
  display: block;
  animation: slideUp 0.4s ease-out;
}

.whatsapp-popup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.whatsapp-popup-top h3 {
  font-size: 1rem;
  color: #262626;
}

.whatsapp-popup-top button {
  background: none;
  border: none;
  color: #737373;
  cursor: pointer;
}

.whatsapp-popup p {
  color: #525252;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.whatsapp-popup .brand-line {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #737373;
  margin-bottom: 0.75rem;
}

.whatsapp-popup .brand-line img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  margin-right: 0.5rem;
}

.whatsapp-start-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}

.whatsapp-start-btn:hover {
  background: var(--whatsapp-hover);
}

.whatsapp-start-btn img {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.whatsapp-fab {
  background: var(--whatsapp);
  color: #fff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  animation: pulsePizza 2s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.1) rotate(5deg);
  animation: none;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.5);
  background: var(--whatsapp-hover);
}

.whatsapp-fab img {
  width: 2rem;
  height: 2rem;
}

.whatsapp-ripple {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  animation: ripplePizza 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ripplePizza {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes pulsePizza {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 300;
  transition: width 0.15s ease-out;
}

/* Nav link animated underline + scrollspy */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary);
}

.mobile-menu .nav-link::after {
  left: 30%;
  right: 30%;
}

/* Header logo hover */
.header-logo img {
  transition: transform 0.4s ease;
}

.header-logo:hover img {
  transform: scale(1.08) rotate(-6deg);
}

/* Hero card floating + tilt */
@media (min-width: 1024px) {
  .hero-card {
    animation: floatCard 5s ease-in-out infinite;
  }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.tilt {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Button ripple */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .service-card,
  .product-card,
  .whatsapp-fab,
  .hero-card,
  .tilt,
  .ripple {
    transition: none;
    animation: none;
  }
}
