/* =========================================
   MR COMMERCE — Design System & Styles
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Design Tokens (HSL) --- */
:root {
  --primary: hsl(216, 100%, 52%);
  --primary-hover: hsl(216, 100%, 45%);
  --primary-foreground: #ffffff;
  --secondary: hsl(171, 100%, 37%);
  --secondary-hover: hsl(171, 100%, 30%);
  --secondary-foreground: #ffffff;
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222, 47%, 11%);
  --card: #ffffff;
  --card-foreground: hsl(222, 47%, 11%);
  --header-dark: hsl(210, 55%, 9%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(171, 100%, 37%);
  --border: hsl(214, 32%, 91%);
  --destructive: hsl(0, 84%, 60%);
  --ring: hsl(216, 100%, 52%);

  --gradient-primary: linear-gradient(135deg, hsl(216, 100%, 52%) 0%, hsl(216, 100%, 65%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(210 55% 9% / 0.92), hsl(216 100% 30% / 0.80));
  --gradient-card: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(210, 40%, 98%) 100%);

  --shadow-sm: 0 1px 2px 0 hsl(222 47% 11% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(222 47% 11% / 0.1);
  --shadow-lg: 0 10px 15px -3px hsl(222 47% 11% / 0.12);
  --shadow-xl: 0 20px 25px -5px hsl(222 47% 11% / 0.15);
  --shadow-card: 0 4px 20px hsl(216 100% 52% / 0.08);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1.5rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================================
   TOPBAR
   ========================================= */
.topbar {
  background: var(--header-dark);
  height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.topbar-socials a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.topbar-socials a:hover {
  color: var(--secondary);
}

.topbar-contact {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.topbar-contact a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.topbar-contact a:hover {
  color: var(--secondary);
}

.topbar-contact svg,
.topbar-socials svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* =========================================
   HEADER (STICKY NAV)
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 640px) {
  .logo-img {
    height: 52px;
  }
}

.logo-mark {
  background: linear-gradient(135deg, #C9A84C 0%, #F0C040 50%, #B8860B 100%);
  color: #1a0a00;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  line-height: 1;
  border: 2px solid #F0C040;
  box-shadow: 0 2px 14px rgba(240, 192, 64, 0.5), 0 0 0 1px rgba(240, 192, 64, 0.22);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--foreground);
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px hsl(216 100% 52% / 0.3);
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px hsl(216 100% 52% / 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.hamburger:hover {
  background: var(--muted);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}

.slide::before {
  content: '';
  position: absolute;
  inset: -6%;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.slide:hover::before {
  transform: scale(1.06);
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.5s ease;
}

.slide.active:hover .slide-overlay {
  background: linear-gradient(to bottom, rgba(11,23,34,0.45) 0%, rgba(11,23,34,0.62) 60%, rgba(11,23,34,0.80) 100%);
}

.slide-content {
  text-align: center;
  color: #fff;
  max-width: 820px;
  padding: 0 1.5rem;
  animation: heroFadeUp 0.8s ease both;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active:hover .slide-content {
  transform: translateY(-6px);
}

.slide.active .slide-content {
  animation-name: heroFadeUp;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.slide-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-title span {
  color: var(--secondary);
}

.slide-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--secondary);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-hero-outline:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* Hero controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow.prev {
  left: 1.5rem;
}

.hero-arrow.next {
  right: 1.5rem;
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  height: 4px;
  width: 20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.dot.active {
  width: 36px;
  background: #fff;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* =========================================
   SECTION HELPERS
   ========================================= */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.badge-primary {
  background: hsl(216, 100%, 52%, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background: hsl(171, 100%, 37%, 0.12);
  color: hsl(171, 100%, 27%);
}

.heading-secondary {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =========================================
   STATS BAR (after hero)
   ========================================= */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stats-bar .section-container {
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================
   NOSOTROS
   ========================================= */
.about {
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text-group {}

.about-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pill {
  background: hsl(216, 100%, 52%, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid hsl(216, 100%, 52%, 0.15);
}

.about-text-group h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.about-text-group p {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.98rem;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 23, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
}

.about-image-badge strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.about-image-badge span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-top: 0.2rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(216, 100%, 52%, 0.2);
}

.mv-icon {
  width: 48px;
  height: 48px;
  background: hsl(216, 100%, 52%, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.mv-icon svg {
  width: 24px;
  height: 24px;
}

.mv-card h4 {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--foreground);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
  background: hsl(210, 40%, 97%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px hsl(216 100% 52% / 0.12);
  border-color: hsl(216, 100%, 52%, 0.25);
}

.card-service:hover::before {
  opacity: 1;
}

.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: hsl(216, 100%, 52%, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.card-service:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.card-service h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--foreground);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-service p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-details {
  display: none;
  margin-bottom: 1rem;
}

.service-details.open {
  display: block;
}

.service-details ul {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-details li {
  font-size: 0.825rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.service-details li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.service-toggle:hover {
  color: var(--primary-hover);
  gap: 0.7rem;
  text-decoration: none;
}

.service-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-toggle.expanded svg {
  transform: rotate(180deg);
}

/* =========================================
   POR QUÉ ELEGIRNOS
   ========================================= */
.why {
  background: var(--header-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, hsl(216, 100%, 20%, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.why .section-header .heading-secondary {
  color: #fff;
}

.why .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.why .section-divider {
  background: var(--secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.why-icon svg {
  width: 30px;
  height: 30px;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Featured why */
.why-card.featured {
  background: var(--primary);
  border-color: var(--primary);
}

.why-card.featured:hover {
  background: var(--primary-hover);
}

.why-card.featured .why-icon {
  background: rgba(255, 255, 255, 0.2);
}

.why-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   FERIAS DE SALUD / BIENESTAR (secondary palette)
   ========================================= */
.wellness {
  background: var(--background);
}

.wellness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.wellness-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wellness-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.wellness-item:hover {
  border-color: hsl(171, 100%, 37%, 0.3);
  box-shadow: 0 4px 16px hsl(171, 100%, 37%, 0.1);
  transform: translateX(4px);
}

.wellness-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: hsl(171, 100%, 37%, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.wellness-item-icon svg {
  width: 22px;
  height: 22px;
}

.wellness-item h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.wellness-item p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.wellness-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-xl);
}

.wellness-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wellness-overlay-card {
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  min-width: 160px;
}

.wellness-overlay-card .woc-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.wellness-overlay-card .woc-label {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin-top: 0.2rem;
}

/* =========================================
   CONTACT / CTA
   ========================================= */
.contact {
  background: hsl(210, 40%, 97%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.contact-row:hover {
  border-color: hsl(216, 100%, 52%, 0.25);
  box-shadow: var(--shadow-card);
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: hsl(216, 100%, 52%, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-row-icon svg {
  width: 18px;
  height: 18px;
}

.contact-row span {
  font-size: 0.88rem;
  color: var(--foreground);
  font-weight: 500;
}

/* Form */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group:last-of-type {
  margin-bottom: 1.5rem;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

label .req {
  color: var(--destructive);
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--foreground);
  background: var(--background);
  transition: var(--transition-smooth);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(216, 100%, 52%, 0.1);
  background: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px hsl(216 100% 52% / 0.3);
}

.btn-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px hsl(216 100% 52% / 0.45);
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Form success toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--header-dark);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

.toast svg {
  color: var(--secondary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--header-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-newsletter input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter input:focus {
  border-color: var(--primary);
}

.footer-newsletter button {
  width: 100%;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-newsletter button:hover {
  background: var(--secondary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* =========================================
   WHATSAPP BUTTON
   ========================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
  animation: none;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    aspect-ratio: 16/9;
  }

  .wellness-grid {
    grid-template-columns: 1fr;
  }

  .wellness-visual {
    aspect-ratio: 16/9;
  }

  .wellness-overlay-card {
    right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .topbar-contact .hide-mobile {
    display: none;
  }

  .nav,
  .btn-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header {
    position: sticky;
    top: 0;
  }

  .stats-bar .section-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar-socials {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .section-container {
    padding: 3.5rem 1.25rem;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrow.prev {
    left: 0.75rem;
  }

  .hero-arrow.next {
    right: 0.75rem;
  }
}