/*
Theme Name: Orchestra Theme
Theme URI: https://orchestra.es/
Author: v0
Author URI: https://v0.dev/
Description: A custom WordPress theme for Orchestra Systems SL, converted from a Next.js project.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: orchestra-theme
*/

/* Base styles and CSS variables */
:root {
  /* Colors */
  --background: #ffffff; /* white */
  --foreground: #1a1a1a; /* near black */

  --card: #ffffff;
  --card-foreground: #1a1a1a;

  --popover: #ffffff;
  --popover-foreground: #1a1a1a;

  --primary: #6b46c1; /* A deep purple for primary actions */
  --primary-foreground: #f8f8f8; /* off-white */

  --secondary: #f0f0f0; /* light gray */
  --secondary-foreground: #333333;

  --muted: #f0f0f0; /* very light gray */
  --muted-foreground: #666666; /* medium gray */

  --accent: #3b82f6; /* A vibrant blue for accents */
  --accent-foreground: #f8f8f8;

  --destructive: #ef4444; /* red */
  --destructive-foreground: #f8f8f8;

  --border: #e5e7eb; /* light gray border */
  --input: #e5e7eb; /* light gray input border */
  --ring: #6b46c1; /* Primary color for ring */

  /* Custom Palette */
  --purple-primary: #6b46c1;
  --purple-dark: #4a2c80;
  --blue-accent: #3b82f6;
  --blue-dark: #1e3a8a;
  --gray-dark: #1a1a1a;
  --gray-medium: #333333;
  --gray-light: #f0f0f0;
  --gray-lighter: #f8f8f8;
  --gray-text: #666666;
  --white-pure: #ffffff;
  --black-pure: #000000;

  /* Border Radius */
  --radius: 0.5rem; /* 8px */
  --radius-lg: 0.5rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);

  /* Spacing (based on Tailwind's default scale) */
  --spacing-0: 0px;
  --spacing-1: 0.25rem; /* 4px */
  --spacing-2: 0.5rem; /* 8px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-8: 2rem; /* 32px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem; /* 48px */
  --spacing-16: 4rem; /* 64px */
  --spacing-24: 6rem; /* 96px */
  --spacing-32: 8rem; /* 128px */
  --spacing-48: 12rem; /* 192px */
  --spacing-64: 16rem; /* 256px */
  --spacing-96: 24rem; /* 384px */
  --spacing-128: 32rem; /* 512px */
  --spacing-192: 48rem; /* 768px */

  /* Font Sizes */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */
  --text-7xl: 4.5rem; /* 72px */

  /* Define la variable CSS para la fuente Montserrat */
  --font-montserrat: "Montserrat";
}

/* Dark mode variables */
.dark {
  --background: #1a1a1a;
  --foreground: #f8f8f8;

  --card: #1a1a1a;
  --card-foreground: #f8f8f8;

  --popover: #1a1a1a;
  --popover-foreground: #f8f8f8;

  --primary: #8b5cf6; /* Lighter purple for dark mode primary */
  --primary-foreground: #1a1a1a;

  --secondary: #333333;
  --secondary-foreground: #f8f8f8;

  --muted: #333333;
  --muted-foreground: #a1a1aa;

  --accent: #60a5fa; /* Lighter blue for dark mode accent */
  --accent-foreground: #f8f8f8;

  --destructive: #dc2626;
  --destructive-foreground: #f8f8f8;

  --border: #333333;
  --input: #333333;
  --ring: #8b5cf6;
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-montserrat), sans-serif; /* Aplica la fuente aquí */
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Utility Classes */

/* Layout */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.flex-1 {
  flex: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.grid {
  display: grid;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-start {
  justify-content: flex-start;
}
.ml-auto {
  margin-left: auto;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.sticky {
  position: sticky;
}
.top-0 {
  top: 0;
}
.bottom-6 {
  bottom: var(--spacing-6);
}
.right-6 {
  right: var(--spacing-6);
}
.overflow-hidden {
  overflow: hidden;
}
.pointer-events-none {
  pointer-events: none;
}
/* Ensure hidden class always hides */
.hidden {
  display: none !important;
}
/* Add fixed position utility */
.fixed {
  position: fixed !important;
}

/* Sizing */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.h-16 {
  height: var(--spacing-16);
}
.h-10 {
  height: var(--spacing-10);
}
.h-12 {
  height: var(--spacing-12);
}
.h-5 {
  height: var(--spacing-5);
}
.h-6 {
  height: var(--spacing-6);
}
.h-24 {
  height: var(--spacing-24);
}
.h-2 {
  height: var(--spacing-2);
}
.w-10 {
  width: var(--spacing-10);
}
.w-12 {
  width: var(--spacing-12);
}
.w-5 {
  width: var(--spacing-5);
}
.w-6 {
  width: var(--spacing-6);
}
.w-24 {
  width: var(--spacing-24);
}
.w-2 {
  width: var(--spacing-2);
}
.min-h-screen {
  min-height: 100vh;
}
.min-h-\[120px\] {
  min-height: 120px;
}
.h-\[500px\] {
  height: 500px;
}
.max-w-\[700px\] {
  max-width: 700px;
}
.max-w-\[800px\] {
  max-width: 800px;
}
.max-w-\[900px\] {
  max-width: 900px;
}
.max-w-md {
  max-width: 28rem; /* 448px */
}
.max-w-4xl {
  max-width: 56rem; /* 896px */
}
.max-w-5xl {
  max-width: 64rem; /* 1024px */
}
.max-w-6xl {
  max-width: 72rem; /* 1152px */
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Spacing */
.p-3 {
  padding: var(--spacing-3);
}
.p-6 {
  padding: var(--spacing-6);
}
.p-8 {
  padding: var(--spacing-8);
}
.px-4 {
  padding-left: var(--spacing-4);
  padding-right: var(--spacing-4);
}
.px-6 {
  padding-left: var(--spacing-6);
  padding-right: var(--spacing-6);
}
.px-8 {
  padding-left: var(--spacing-8);
  padding-right: var(--spacing-8);
}
.py-3 {
  padding-top: var(--spacing-3);
  padding-bottom: var(--spacing-3);
}
.py-4 {
  padding-top: var(--spacing-4);
  padding-bottom: var(--spacing-4);
}
.py-6 {
  padding-top: var(--spacing-6);
  padding-bottom: var(--spacing-6);
}
.py-12 {
  padding-top: var(--spacing-12);
  padding-bottom: var(--spacing-12);
}
.pb-4 {
  padding-bottom: var(--spacing-4);
}
.pt-4 {
  padding-top: var(--spacing-4);
}
.pt-6 {
  padding-top: var(--spacing-6);
}
.mb-2 {
  margin-bottom: var(--spacing-2);
}
.mb-4 {
  margin-bottom: var(--spacing-4);
}
.mb-6 {
  margin-bottom: var(--spacing-6);
}
.mb-8 {
  margin-bottom: var(--spacing-8);
}
.mb-12 {
  margin-bottom: var(--spacing-12);
}
.mt-1 {
  margin-top: var(--spacing-1);
}
.mt-4 {
  margin-top: var(--spacing-4);
}
.mt-auto {
  margin-top: auto;
}
.mt-8 {
  margin-top: var(--spacing-8);
}
.mr-4 {
  margin-right: var(--spacing-4);
}
.space-y-2 > *:not([hidden]) ~ *:not([hidden]) {
  margin-top: var(--spacing-2);
}
.space-y-3 > *:not([hidden]) ~ *:not([hidden]) {
  margin-top: var(--spacing-3);
}
.space-y-4 > *:not([hidden]) ~ *:not([hidden]) {
  margin-top: var(--spacing-4);
}
.space-y-6 > *:not([hidden]) ~ *:not([hidden]) {
  margin-top: var(--spacing-6);
}
.space-y-8 > *:not([hidden]) ~ *:not([hidden]) {
  margin-top: var(--spacing-8);
}
.space-x-2 > *:not([hidden]) ~ *:not([hidden]) {
  margin-left: var(--spacing-2);
}
.gap-1 {
  gap: var(--spacing-1);
}
.gap-2 {
  gap: var(--spacing-2);
}
.gap-3 {
  gap: var(--spacing-3);
}
.gap-4 {
  gap: var(--spacing-4);
}
.gap-6 {
  gap: var(--spacing-6);
}
.gap-8 {
  gap: var(--spacing-8);
}
.gap-12 {
  gap: var(--spacing-12);
}

/* Typography */
.text-xs {
  font-size: var(--text-xs);
}
.text-sm {
  font-size: var(--text-sm);
}
.text-base {
  font-size: var(--text-base);
}
.text-lg {
  font-size: var(--text-lg);
}
.text-xl {
  font-size: var(--text-xl);
}
.text-2xl {
  font-size: var(--text-2xl);
}
.text-3xl {
  font-size: var(--text-3xl);
}
.text-4xl {
  font-size: var(--text-4xl);
}
.text-5xl {
  font-size: var(--text-5xl);
}
.text-6xl {
  font-size: var(--text-6xl);
}
.text-7xl {
  font-size: var(--text-7xl);
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.italic {
  font-style: italic;
}
.tracking-tighter {
  letter-spacing: -0.05em;
}
.underline {
  text-decoration: underline;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Colors */
.bg-background {
  background-color: var(--background);
}
.bg-muted\/40 {
  background-color: rgba(var(--muted), 0.4);
}
.bg-purple-600 {
  background-color: #8b5cf6;
} /* Adjusted to a similar purple */
.bg-white {
  background-color: var(--white-pure);
}
.bg-white-pure {
  background-color: var(--white-pure);
}
.bg-gray-100 {
  background-color: #f3f4f6;
} /* Adjusted to a similar gray */
.bg-purple-primary {
  background-color: var(--purple-primary);
}
.bg-purple-primary\/10 {
  background-color: rgba(var(--purple-primary), 0.1);
}
.bg-purple-primary\/20 {
  background-color: rgba(var(--purple-primary), 0.2);
}
.bg-blue-accent {
  background-color: var(--blue-accent);
}
.bg-blue-accent\/10 {
  background-color: rgba(var(--blue-accent), 0.1);
}
.bg-black-pure {
  background-color: var(--black-pure);
}
.bg-white\/10 {
  background-color: rgba(var(--white-pure), 0.1);
}
.bg-cover {
  background-size: cover;
}
.bg-center {
  background-position: center;
}
.bg-fixed {
  background-attachment: fixed;
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--purple-dark), var(--blue-dark));
}
.bg-gradient-to-r.from-purple-dark\/80.to-blue-dark\/70 {
  background-image: linear-gradient(to right, rgba(var(--purple-dark), 0.8), rgba(var(--blue-dark), 0.7));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--purple-dark), var(--blue-dark));
}
.bg-gradient-to-br.from-purple-primary\/10.to-blue-accent\/10 {
  background-image: linear-gradient(to bottom right, rgba(var(--purple-primary), 0.1), rgba(var(--blue-accent), 0.1));
}

.text-white {
  color: var(--white-pure);
}
.text-white-pure {
  color: var(--white-pure);
}
.text-purple-600 {
  color: #8b5cf6;
} /* Adjusted to a similar purple */
.text-gray-200 {
  color: #e5e7eb;
} /* Adjusted to a similar gray */
.text-purple-primary {
  color: var(--purple-primary);
}
.text-blue-accent {
  color: var(--blue-accent);
}
.text-black-pure {
  color: var(--black-pure);
}
.text-gray-light {
  color: var(--gray-light);
}
.text-gray-text {
  color: var(--gray-text);
}
.text-foreground {
  color: var(--foreground);
}
.text-foreground\/80 {
  color: rgba(var(--foreground), 0.8);
}
.text-muted-foreground {
  color: var(--muted-foreground);
}

/* Borders and Shadows */
.border-b {
  border-bottom-width: 1px;
  border-color: var(--border);
}
.border-t {
  border-top-width: 1px;
  border-color: var(--border);
}
.border-none {
  border-style: none;
}
.border-secondary {
  border-color: var(--secondary);
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-xl {
  border-radius: var(--radius); /* Using base radius for consistency */
}
.rounded-full {
  border-radius: 9999px;
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.ring-2 {
  box-shadow: 0 0 0 2px var(--ring);
}
.ring-purple-primary\/20 {
  box-shadow: 0 0 0 2px rgba(var(--purple-primary), 0.2);
}

/* Transitions and Animations */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
  transition-duration: 500ms;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}
.rotate-180 {
  transform: rotate(180deg);
}
.translate-y-0 {
  transform: translateY(0);
}
.translate-y-8 {
  transform: translateY(var(--spacing-8));
}
.opacity-0 {
  opacity: 0;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-100 {
  opacity: 1;
}

/* Keyframes for accordion */
@keyframes accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}
@keyframes accordion-up {
  from {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}
.animate-accordion-down {
  animation: accordion-down 0.2s ease-out;
}
.animate-accordion-up {
  animation: accordion-up 0.2s ease-out;
}

/* Specific component styles (shadcn/ui overrides) */

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  height: var(--spacing-10);
  padding: 0 var(--spacing-4);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-default {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-default:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.btn-outline {
  border-color: var(--input);
  background-color: var(--background);
  color: var(--foreground);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

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

.btn-icon {
  height: var(--spacing-10);
  width: var(--spacing-10);
  padding: 0;
}

/* Input & Textarea */
.input,
.textarea {
  display: flex;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--text-sm);
  color: var(--foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px var(--ring);
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted-foreground);
}
.input:disabled,
.textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Label */
.label {
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
}

/* Card */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--card-foreground);
}
.card-header {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-6);
}
.card-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}
.card-description {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}
.card-content {
  padding: var(--spacing-6);
  padding-top: 0;
}
.card-footer {
  display: flex;
  align-items: center;
  padding: var(--spacing-6);
  padding-top: 0;
}

/* Avatar */
.avatar {
  position: relative;
  display: flex;
  height: var(--spacing-10);
  width: var(--spacing-10);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9999px;
}
.avatar-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.avatar-fallback {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--muted);
  color: var(--muted-foreground);
  font-size: var(--text-sm);
  line-height: 1;
}

/* Dropdown Menu */
.dropdown-menu-content {
  z-index: 9999; /* Ensure it's above other content, higher than header's z-index */
  min-width: 8rem; /* 128px */
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--popover);
  padding: var(--spacing-1);
  color: var(--popover-foreground);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: absolute; /* Ensure it can be positioned relative to trigger */
  top: 100%; /* Position below the trigger */
  right: 0; /* Align to the right of the trigger */
  margin-top: 0.5rem; /* Small gap below trigger */
}
.dropdown-menu-item {
  position: relative;
  display: flex;
  cursor: default;
  user-select: none;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: var(--spacing-2) var(--spacing-2);
  font-size: var(--text-sm);
  outline: none;
  transition: background-color 0.15s, color 0.15s;
}
.dropdown-menu-item:focus,
.dropdown-menu-item:hover {
  /* Add hover for better UX */
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Sheet (for mobile menu) */
.sheet-content {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999; /* Higher z-index for mobile menu */
  background-color: var(--background);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease-out;
}
.sheet-content.right {
  right: 0;
  transform: translateX(100%);
}
.sheet-content.open.right {
  transform: translateX(0);
}
.sheet-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  height: var(--spacing-10);
  padding: 0 var(--spacing-4);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  cursor: pointer;
  background-color: transparent;
  color: var(--foreground);
}
.sheet-trigger:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Responsive Utilities */
@media (min-width: 400px) {
  .min-\[400px\]-flex-row {
    flex-direction: row;
  }
}

@media (min-width: 640px) {
  /* sm */
  .sm-flex-row {
    flex-direction: row;
  }
  .sm-ml-auto {
    margin-left: auto;
  }
  .sm-gap-6 {
    gap: var(--spacing-6);
  }
  .sm-w-full {
    width: 100%;
  }
  .sm-text-5xl {
    font-size: var(--text-5xl);
  }
  .sm-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .sm-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-w-\[400px\] {
    width: 400px;
  }
}

@media (min-width: 768px) {
  /* md */
  .md-px-6 {
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
  }
  .md-flex {
    display: flex !important; /* Add !important */
  }
  .md-inline-flex {
    display: inline-flex !important; /* Add !important */
  }
  .md-hidden {
    display: none !important; /* Add !important */
  }
  .md-py-24 {
    padding-top: var(--spacing-24);
    padding-bottom: var(--spacing-24);
  }
  .md-text-xl {
    font-size: var(--text-xl);
  }
  .md-text-xl\/relaxed {
    font-size: var(--text-xl);
    line-height: 1.625;
  } /* line-height: 1.625 (26px) */
  .md-text-5xl {
    font-size: var(--text-5xl);
  }
  .md-text-6xl {
    font-size: var(--text-6xl);
  }
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md-text-left {
    text-align: left;
  }
  /* Header specific adjustments for desktop - MOVED INSIDE MD MEDIA QUERY */
  .site-header nav {
    display: flex !important; /* Ensure it overrides hidden */
    align-items: center;
    gap: var(--spacing-6); /* gap-6 */
    font-size: var(--text-sm); /* text-sm */
    font-weight: 500; /* font-medium */
  }
  .site-header .social-icons {
    display: flex !important; /* Ensure it overrides hidden */
    align-items: center;
    gap: var(--spacing-3); /* gap-3 */
  }
  .site-header .btn-outline {
    display: inline-flex !important; /* Ensure it overrides hidden */
  }
}

@media (min-width: 1024px) {
  /* lg */
  .lg-py-32 {
    padding-top: var(--spacing-32);
    padding-bottom: var(--spacing-32);
  }
  .lg-grid-cols-\[1fr_400px\] {
    grid-template-columns: 1fr 400px;
  }
  .lg-gap-12 {
    gap: var(--spacing-12);
  }
  .lg-order-last {
    order: 99;
  }
  .lg-aspect-square {
    aspect-ratio: 1 / 1;
  }
  .lg-text-base\/relaxed {
    font-size: var(--text-base);
    line-height: 1.625;
  } /* line-height: 1.625 (26px) */
  .lg-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg-text-left {
    text-align: left;
  }
  .lg-mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1280px) {
  /* xl */
  .xl-py-48 {
    padding-top: var(--spacing-48);
    padding-bottom: var(--spacing-48);
  }
  .xl-grid-cols-\[1fr_600px\] {
    grid-template-columns: 1fr 600px;
  }
  .xl-text-7xl\/none {
    font-size: var(--text-7xl);
    line-height: 1;
  }
  .xl-text-xl\/relaxed {
    font-size: var(--text-xl);
    line-height: 1.625;
  } /* line-height: 1.625 (26px) */
}

/* Specific overrides for shadcn components to match the pure CSS approach */
.flex.flex-col.space-y-1\.5.p-6.pb-4 {
  text-align: center;
  align-items: center;
}

.text-relaxed-heading {
  line-height: 1.2; /* Adjust as needed for better spacing */
}

/* Container class definition */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-4); /* 16px */
  padding-right: var(--spacing-4); /* 16px */
}

@media (min-width: 640px) {
  /* sm */
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  /* md */
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  /* lg */
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  /* xl */
  .container {
    max-width: 1280px;
  }
}

/* Ensure header background and z-index are correct */
.sticky.top-0.z-40.w-full.border-b.bg-background {
  background-color: var(--background) !important;
  z-index: 9999 !important; /* Increased z-index to be higher than dropdowns */
}

/* Ensure body background is correct */
body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Link styling for navigation */
.hover-text-primary:hover {
  color: var(--primary);
}

/* Basic image responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevents extra space below images */
}

/* Testimonial specific adjustments */
.testimonial-card .card-footer {
  padding-top: var(--spacing-8); /* Increased padding-top for better spacing */
}
.testimonial-card .quote-icon {
  position: absolute;
  color: rgba(var(--purple-primary), 0.1); /* text-purple-primary/10 */
  height: var(--spacing-16); /* h-16 */
  width: var(--spacing-16); /* w-16 */
  top: calc(-1 * var(--spacing-6)); /* -top-6 */
  left: calc(-1 * var(--spacing-6)); /* -left-6 */
  transform: rotate(180deg);
}

.hover-text-primary {
  text-decoration: none;
  color: black;
}

.flex.items-center.gap-2.font-semibold {
  text-decoration: none;
}
a {
  text-decoration: none;
}
 .lg-aspect-square {
    aspect-ratio: auto!important;
  }

 /* Importar Montserrat desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Contenedor externo con fondo violeta */
.formulario-contacto {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #3c2a78;
}

/* Título del formulario */
.formulario-contacto h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
}

/* Estilos del formulario */
.wpcf7 form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

/* Etiquetas */
.wpcf7 form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 16px;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

/* Campos input y textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
}

/* Estilo específico para textarea */
.wpcf7 textarea {
  height: 120px;
  resize: vertical;
}

/* Placeholder con Montserrat */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  font-family: 'Montserrat', sans-serif;
  color: #999;
  font-size: 15px;
}

/* Botón de envío */
.wpcf7 input[type="submit"] {
  background-color: #6c3be6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  margin-top: 24px;
  cursor: pointer;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #582dcf;
}



.w-full.max-w-md.mx-auto.bg-white-pure.p-8.rounded-lg.shadow-xl.text-foreground.transition-all.ease-out.opacity-100.translate-y-0 {
    padding: 0px!important;
}

h3.text-2xl.font-bold.mb-6.text-center {
    color: black;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #f00;
  color: black;
}



.rounded-full {
  border-radius: 9999px;
  width: 47px;
  min-width: 49px;
  min-height: 48px;
}

.tss-wrapper .tss-layout3 .profile-img-wrapper img, .tss-wrapper .tss-isotope1 .profile-img-wrapper img, .tss-wrapper .tss-carousel3 .profile-img-wrapper img {
    border-radius: 100px;
    display: inline-block;
}



.cliente-ideal-compacto {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      max-width: 1100px;
      margin: 0 auto;
      flex-wrap: wrap;
    }

    .cliente-texto {
      flex: 1;
      min-width: 300px;
    }

    .cliente-texto h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .cliente-texto p {
      font-size: 1rem;
      color: #555;
      margin-bottom: 2rem;
    }

    .cliente-items {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: flex-start;
      justify-content: center;
    }

    .cliente-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      text-align: left;
      font-size: 0.95rem;
    }

    .cliente-item strong {
      font-weight: 600;
      display: block;
      margin-bottom: 0.3rem;
      color: #000;
    }

    .icono {
      font-size: 2rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .icono.azul {
      color: #002970; /* azul del diseño original */
    }

    .icono.morado {
      color: #6b21a8; /* morado del diseño original */
    }

    .descripcion {
      color: #555;
    }

    .cliente-imagen {
      flex: 1;
      min-width: 300px;
    }

    .cliente-imagen img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
      .cliente-ideal-compacto {
        flex-direction: column;
        text-align: center;
      }

      .cliente-items {
        align-items: center;
      }

      .cliente-item {
        justify-content: center;
      }
    }


    .text-center {
  text-align: center;
  align-content: center;
  align-items: center;
}

#afina {
  padding-top: 0;
}
@media (max-width: 767px) {
.mx-auto.flex.flex-col-reverse.md\:flex-row.items-center.gap-8.max-w-6xl {
    flex-direction: column;
}
}

.card.flex.flex-col.h-full.items-center.justify-center.text-center.p-6.transition-all.rounded-lg.border.bg-white {
  min-height: 191px;
}


.swiper-button-next, .swiper-button-prev {
  position: static!important;

}

.swiper-button-next, .swiper-button-prev {
  position: static!important;

}

.swiper-pagination {
    position: static!important;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    padding-bottom: 25px;
}

.union {
  width: auto;
  height: 150px;
  margin: auto;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  column-gap: 136px;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  display: none;
}

#testimonials {
  padding-top: 0 !important;
}