/* ========================================
   MAJO'S SUGARY ADVENTURE — Premium Design System
   ======================================== */

:root {
  --color-salmon: #F4A896;
  --color-salmon-light: #FDE8E3;
  --color-salmon-bg: #FFF5F2;
  --color-pink-accent: #E8828A;
  --color-pink-soft: #F9D5D3;
  --color-white: #FFFFFF;
  --color-text-dark: #332D2D;
  --color-text-muted: #7A6F6F;
  --color-bordeaux: #7A2B2B;
  /* New premium color from reference */
  --color-whatsapp: #25D366;
  --color-whatsapp-grad: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
  --color-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --color-whatsapp-hover: #1EBE57;
  --color-check-green: #22C55E;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(244, 168, 150, 0.1);
  --shadow-md: 0 12px 32px rgba(244, 168, 150, 0.15);
  --shadow-lg: 0 24px 60px rgba(244, 168, 150, 0.2);
  --shadow-wa: 0 10px 30px rgba(18, 140, 126, 0.4);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-salmon-bg);
  /* Fruit-themed Pattern Pattern (Strawberries and Apples/Fruits) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='%23E8828A' fill-opacity='0.08' d='M50 20C40 20 35 30 35 45C35 65 50 85 50 85C50 85 65 65 65 45C65 30 60 20 50 20Z'/%3E%3Cpath fill='%23F4A896' fill-opacity='0.08' d='M80 50C80 40 70 35 55 35C35 35 15 50 15 50C15 50 35 65 55 65C70 65 80 60 80 50Z'/%3E%3C/svg%3E");
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* --- Background Hearts Layer --- */
.bg-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background-color: var(--color-salmon-bg);
}

.bg-hearts::before,
.bg-hearts::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: calc(100% + 400px);
  height: calc(100% + 400px);
  /* Vivid Sticker Layer 1 (Food Miniatures) - 🍭🌭🍦🍍🍉🫐 - Boosted Opacity */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 100 100'%3E%3C!-- Lollipop 🍭 --%3E%3Ccircle cx='20' cy='20' r='6' fill='%23FF69B4' fill-opacity='0.4'/%3E%3Crect x='19' y='26' width='2' height='10' fill='%23D1D1D1' fill-opacity='0.4'/%3E%3C!-- Hotdog 🌭 --%3E%3Crect x='70' y='15' width='12' height='6' rx='3' fill='%23CD853F' fill-opacity='0.4'/%3E%3Crect x='72' y='17' width='8' height='2' rx='1' fill='%238B4513' fill-opacity='0.4'/%3E%3C!-- Ice Cream 🍦 --%3E%3Cpath d='M15 75 L25 75 L20 85 Z' fill='%23DEB887' fill-opacity='0.4'/%3E%3Ccircle cx='20' cy='72' r='4' fill='%23FFB6C1' fill-opacity='0.4'/%3E%3C!-- Pineapple 🍍 --%3E%3Cellipse cx='80' cy='80' rx='5' ry='7' fill='%23FFD700' fill-opacity='0.4'/%3E%3Cpath d='M78 72 L82 72 L80 65 Z' fill='%23228B22' fill-opacity='0.4'/%3E%3C!-- Watermelon 🍉 --%3E%3Cpath d='M45 45 A10 10 0 0 0 65 45 Z' fill='%23FF6347' fill-opacity='0.4'/%3E%3Cpath d='M45 45 A10 10 0 0 0 65 45' stroke='%23228B22' stroke-width='2' fill='none' stroke-opacity='0.4'/%3E%3C!-- Blueberries 🫐 --%3E%3Ccircle cx='50' cy='15' r='2' fill='%234169E1' fill-opacity='0.4'/%3E%3Ccircle cx='53' cy='18' r='2' fill='%234169E1' fill-opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: bgFloating 50s linear infinite;
}

.bg-hearts::after {
  /* Vivid Sticker Layer 2 - More scattered, different tones - Boosted Opacity */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 100 100'%3E%3Ccircle cx='10' cy='10' r='5' fill='%23FF69B4' fill-opacity='0.3'/%3E%3Ccircle cx='80' cy='20' r='4' fill='%23FFD700' fill-opacity='0.3'/%3E%3Ccircle cx='30' cy='80' r='6' fill='%23FF6347' fill-opacity='0.3'/%3E%3Ccircle cx='90' cy='90' r='3' fill='%234169E1' fill-opacity='0.3'/%3E%3C/svg%3E");
  animation: bgFloatingSlow 80s linear infinite reverse;
  opacity: 1;
}

@keyframes bgFloating {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(-150px, -250px) rotate(8deg);
  }
}

@keyframes bgFloatingSlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(150px, 250px) rotate(-12deg);
  }
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 245, 242, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(244, 168, 150, 0.1);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-bordeaux);
  font-style: italic;
  letter-spacing: -1px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-salmon);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-pink-accent);
}

.header__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__ig-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-instagram);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.header__ig-icon:hover {
  transform: scale(1.1) rotate(-12deg);
}

.header__wa-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-whatsapp-grad);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.header__wa-icon:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.1) rotate(12deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn--instagram {
  background: var(--color-instagram);
  color: white;
  padding: 16px 32px;
  box-shadow: 0 10px 30px rgba(220, 39, 67, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--instagram svg {
  background: white;
  color: #dc2743;
  border-radius: 50%;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--instagram:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(220, 39, 67, 0.4);
}

.btn--whatsapp {
  background: var(--color-whatsapp-grad);
  color: white;
  padding: 16px 32px;
  box-shadow: var(--shadow-wa);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--whatsapp i,
.btn--whatsapp svg {
  background: white;
  color: var(--color-whatsapp);
  border-radius: 50%;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.btn--whatsapp:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(18, 140, 126, 0.5);
}

.btn--lg {
  padding: 22px 45px;
  font-size: 1.15rem;
}

.btn--sm {
  padding: 12px 25px;
  font-size: 0.9rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at top right, #FFF5F2, #FDE8E3 60%, #F9D5D3);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.hero__bg-pattern::before {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-salmon-light), transparent 70%);
  border-radius: 50%;
  animation: floatBubble 10s ease-in-out infinite;
}

@keyframes floatBubble {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, 20px) scale(1.1);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-bordeaux);
  margin-bottom: 30px;
  letter-spacing: -2.5px;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
}

.hero__highlight {
  color: var(--color-pink-accent);
  /* Keep pink for highlight context */
  display: block;
}

.hero__highlight {
  color: var(--color-pink-accent);
  font-size: 4.8rem;
  display: inline-block;
  position: relative;
}

.hero__highlight::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 15px;
  background: rgba(244, 168, 150, 0.2);
  z-index: -1;
  border-radius: 10px;
}

.hero__heart {
  display: none;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 50px;
  font-style: italic;
  opacity: 0.9;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05), transparent 70%);
  border-radius: 50%;
}

.hero__image img {
  max-width: 100%;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(244, 168, 150, 0.35));
  animation: floatHero 7s ease-in-out infinite;
}

@keyframes floatHero {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-30px) rotate(3deg);
  }
}

/* --- Sections --- */
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 90px;
  position: relative;
  color: var(--color-text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--color-salmon);
  border-radius: 5px;
}

/* --- Services --- */
.servicios {
  padding: 140px 0;
  background: var(--color-white);
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.service-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(244, 168, 150, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-salmon);
  background: var(--color-white);
}

.service-card__img-wrap {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s ease;
}

.service-card:hover .service-card__img-wrap img {
  transform: scale(1.15);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* --- Tabs --- */
.detalle {
  padding: 140px 0;
  background: linear-gradient(to bottom, #FFF5F2, transparent);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 70px;
  padding: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 18px 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(244, 168, 150, 0.2);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-btn.active {
  background: var(--color-white);
  color: var(--color-pink-accent);
  border-color: var(--color-salmon);
  box-shadow: var(--shadow-md);
}

.tab-btn:hover:not(.active) {
  transform: translateY(-3px);
  background: var(--color-white);
}

.tabs-content {
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: scale(0.97);
  transition: 0.6s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.tab-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 70px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin-left: auto;
  /* Cloud/Blob Mask */
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 40%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid rgba(255, 255, 255, 0.5);
  animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {

  0%,
  100% {
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 40%;
  }

  50% {
    border-radius: 30% 60% 40% 70% / 60% 40% 70% 30%;
  }
}

.tab-panel__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/11;
}

.tab-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 2s ease;
}

.tab-panel:hover .tab-panel__image img {
  transform: scale(1.08);
}

.tab-panel__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
}

.tab-panel__desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 35px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 45px;
}

.benefits-list li {
  display: flex;
  gap: 15px;
  font-size: 1.1rem;
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--color-salmon-light);
  color: var(--color-pink-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* --- Gallery --- */
.galeria {
  padding: 120px 0;
  background: var(--color-white);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.galeria__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s ease;
}

.galeria__item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.galeria__item:hover img {
  transform: scale(1.12);
}

.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(232, 130, 138, 0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.galeria__item:hover::after {
  opacity: 1;
}

/* --- Testimonios (Elfsight) --- */
.testimonios {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-salmon-bg) 0%, var(--color-white) 100%);
  border-top: 1px solid rgba(244, 168, 150, 0.1);
  border-bottom: 1px solid rgba(244, 168, 150, 0.1);
}

.testimonios .container {
  max-width: 1000px;
  position: relative;
  z-index: 5;
}

.testimonios__footer {
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-muted);
  font-style: italic;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.testimonios__review-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--color-pink-accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(232, 130, 138, 0.2);
}

.testimonios__review-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-pink-accent);
}

/* --- CTA Final --- */
.cta-final {
  padding: 120px 0;
  background: radial-gradient(circle at center, var(--color-salmon-light), var(--color-salmon-bg));
  text-align: center;
  overflow: hidden;
}

.cta-final__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  border-radius: 50%;
}

.cta-final__inner {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin: 0 auto;
}

.cta-final__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--color-pink-accent);
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}

.cta-final__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.cta-final__subtitle {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  padding: 80px 0;
  background: #2D2727;
  color: white;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--color-salmon);
  font-weight: 700;
}

.footer__brand span {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 5px;
  opacity: 0.6;
  margin-top: 5px;
}

.footer__copy {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.3;
}

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 45px;
  right: 45px;
  width: 68px;
  height: 68px;
  background: var(--color-whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-wa);
  z-index: 9999;
}

.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-whatsapp);
  border-radius: 50%;
  z-index: -1;
  animation: waPing 2s ease-out infinite;
}

@keyframes waPing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.wa-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* --- Animations --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
  }

  .hero__highlight {
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .hero__image img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }

  .servicios__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-panel__inner {
    grid-template-columns: 1fr;
    padding: 50px 30px;
    gap: 50px;
  }

  .section-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }
}

@media (max-width: 640px) {
  .header__inner {
    height: 75px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .logo-sub {
    font-size: 0.6rem;
  }

  .header__nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero__btns {
    width: 100%;
  }

  .btn--lg {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .hero__image img {
    max-height: 300px;
  }

  .hero__title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .hero__highlight {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .servicios {
    padding: 60px 0;
  }

  .servicios__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .tab-btn {
    padding: 10px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .tabs-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 5px;
    gap: 10px;
  }

  .tab-panel__inner {
    padding: 40px 25px;
  }

  .tab-panel__title {
    font-size: 2rem;
  }

  .tab-panel__info {
    text-align: center;
  }

  .benefits-list {
    text-align: left;
    margin: 0 auto 30px;
    display: inline-block;
  }

  .cta-final {
    padding: 80px 0;
  }

  .cta-final__badge {
    padding: 10px 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .cta-final__title {
    font-size: 2.6rem;
  }

  .wa-float {
    width: 58px;
    height: 58px;
    bottom: 25px;
    right: 25px;
  }
}

/* PC / Ultra Wide Optimization */
@media (min-width: 1440px) {
  .container {
    max-width: 1300px;
  }

  .hero__title {
    font-size: 5rem;
  }

  .hero__highlight {
    font-size: 5.5rem;
  }
}