/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
  --color-red: #dc2626;
  --color-black: #111827;
  --color-gray: #6b7280;
  --color-gray-light: #f3f4f6;
  --color-white: #ffffff;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 600ms;
}

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

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
}

/* Spanish text spacing improvements */
html[lang="es"] body,
body[data-lang="es"] {
  word-spacing: 0.05em;
}

html[lang="es"] p,
body[data-lang="es"] p {
  line-height: 1.7;
}

html[lang="es"] .section-subtitle,
body[data-lang="es"] .section-subtitle {
  line-height: 1.75;
  max-width: 48rem;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Custom Scrollbar
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.main-content {
  padding-top: 5rem;
  min-height: 100vh;
}

@media (min-width: 640px) {
  .main-content {
    padding-top: 6rem;
  }
}

@media (min-width: 768px) {
  .main-content {
    padding-top: 7rem;
  }
}

/* ============================================
   Section Spacing
   ============================================ */

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 768px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* Improved vertical rhythm for paragraphs */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

/* Add spacing around Get Quote buttons */
a.btn-primary,
a.btn-secondary,
button.btn-primary,
button.btn-secondary {
  margin: 1rem 0;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 6px -1px 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 {
  background-color: #b91c1c;
  box-shadow: 0 10px 20px -5px rgba(220, 38, 38, 0.4);
  transform: translateY(-2px) scale(1.02);
}

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

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background-color: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
  background-color: #1f2937;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px) scale(1.02);
}

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

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  border: 2px solid var(--color-red);
  color: var(--color-red);
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-red);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -3px rgba(220, 38, 38, 0.3);
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:active {
  transform: translateY(0);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  background: linear-gradient(to bottom right, var(--color-gray-light), var(--color-white));
  padding: 4rem 0;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-company-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  animation: fadeInUp 1s ease-out 0.1s both;
}

@media (min-width: 640px) {
  .hero-company-name {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-company-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

.hero-title {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.8s both;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 5rem 0;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 8rem 0;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url('/images/logo-icons-pattern.svg');
  background-size: 800px 240px;
  background-position: center;
  background-repeat: repeat;
  width: 100%;
  height: 100%;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
}

.hero-content {
  text-align: center;
  order: 2;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
    order: 2;
    flex: 1;
  }
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  order: 1;
  width: 100%;
  min-height: 200px;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    width: auto;
    min-width: 300px;
    flex: 0 0 auto;
    order: 1;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 1rem;
    min-height: auto;
  }
}

.hero-image {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  width: auto;
  min-width: 200px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-image:hover {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .hero-image {
    max-height: 350px;
    min-width: 250px;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    max-height: 280px;
    max-width: 350px;
    min-width: 250px;
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .hero-image {
    max-height: 320px;
    max-width: 400px;
    min-width: 280px;
  }
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

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

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

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

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

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

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    gap: 1rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
}

/* Prevent unwanted margins on hero action buttons */
.hero-actions .btn-primary,
.hero-actions .btn-outline {
  margin: 0;
}

/* ============================================
   Services Grid
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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

.service-card {
  background-color: var(--color-white);
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .service-card {
    padding: 1.5rem;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.service-card:hover {
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(220, 38, 38, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: var(--color-red);
  opacity: 0.05;
  border-radius: 50%;
  margin-right: -4rem;
  margin-top: -4rem;
}

.service-card-content {
  position: relative;
  z-index: 10;
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.service-link {
  color: var(--color-red);
  font-weight: 600;
}

.service-link:hover {
  text-decoration: underline;
}

/* ============================================
   Features Grid
   ============================================ */

.bg-gray-light {
  background-color: var(--color-gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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

.feature-card {
  background-color: var(--color-white);
  padding: 1.25rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .feature-card {
    padding: 1.5rem;
  }
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), #b91c1c);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
  border-color: rgba(220, 38, 38, 0.1);
}

.feature-card:hover::after {
  width: 100%;
}

.feature-card:hover .feature-icon {
  animation: float 2s ease-in-out infinite;
  transform: scale(1.1);
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--color-gray);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

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

.testimonial-card {
  background-color: var(--color-white);
  padding: 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(220, 38, 38, 0.1);
  font-family: serif;
  line-height: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.testimonial-card:hover::before {
  color: rgba(220, 38, 38, 0.2);
  transform: scale(1.2);
}

.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.testimonial-text {
  color: var(--color-gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--color-black);
  font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */

.bg-red {
  background-color: var(--color-red);
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .bg-red {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.text-white {
  color: var(--color-white);
}

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

.mt-12 {
  margin-top: 3rem;
}

/* ============================================
   Animations & Transitions
   ============================================ */

/* Enhanced Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleUp {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-down {
  animation: fadeInDown 0.6s ease-out;
}

.slide-in {
  animation: slideIn 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

/* Intersection Observer Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* Global Smooth Transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disable transitions on page load for better performance */
.preload * {
  transition: none !important;
  animation: none !important;
}

/* ============================================
   Utility Classes
   ============================================ */

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Header Styles
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-white);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header-top-bar {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.375rem 0;
  border-bottom: 1px solid #374151;
  overflow-x: auto;
}

.header-top-bar .container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .header-top-bar .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) {
  .header-top-bar .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-top-bar .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .header-top-bar .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .header-top-bar .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.header-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
}

@media (min-width: 1024px) {
  .header-top-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0;
    align-items: center;
    justify-items: stretch;
    width: 100%;
  }
}

.header-top-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 0;
  flex-shrink: 1;
}

@media (min-width: 640px) {
  .header-top-left {
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .header-top-left {
    grid-column: 1;
    justify-self: start;
    margin-left: 0;
    padding-left: 0;
    justify-content: flex-start;
  }
}

.header-top-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-top-center {
    grid-column: 2;
    justify-self: center;
    width: 100%;
  }
}

.header-top-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-top-right {
    grid-column: 3;
    justify-self: end;
    margin-right: 0;
    padding-right: 0;
  }
}

.header-contact-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-white);
  transition: color var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.625rem;
  margin: 0;
}

@media (min-width: 640px) {
  .header-contact-link {
    gap: 0.375rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .header-contact-link {
    font-size: 0.875rem;
  }
}

.header-contact-link:hover {
  color: var(--color-red);
}

.header-icon {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--color-red);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (min-width: 768px) {
  .header-icon {
    width: 1rem;
    height: 1rem;
  }
}

.header-hours {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-gray-light);
  flex-shrink: 0;
  font-size: 0.625rem;
  margin: 0;
}

@media (min-width: 640px) {
  .header-hours {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .header-hours {
    font-size: 0.875rem;
  }
}

.header-license {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.375rem;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.6), rgba(31, 41, 55, 0.6));
  border-radius: 0.5rem;
  border: 1px solid rgba(55, 65, 81, 0.5);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  font-size: 0.5625rem;
}

@media (min-width: 640px) {
  .header-license {
    gap: 0.375rem;
    padding: 0.25rem 0.375rem;
    font-size: 0.625rem;
  }
}

@media (min-width: 768px) {
  .header-license {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
}

.header-license span:first-child {
  color: var(--color-gray-light);
  font-weight: 500;
}

.license-number {
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: rgba(220, 38, 38, 0.2);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

@media (min-width: 640px) {
  .license-number {
    padding: 0.125rem 0.5rem;
  }
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-social-links {
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .header-social-links {
    gap: 1rem;
  }
}

.social-link {
  color: var(--color-white);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-link:hover {
  color: var(--color-red);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}

.main-nav {
  width: 100%;
  padding: 0.5rem 0;
  overflow: visible;
  max-width: 100%;
}

.main-nav .container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  max-width: 100%;
}

@media (min-width: 640px) {
  .main-nav .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 768px) {
  .main-nav .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .main-nav .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .main-nav .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .main-nav .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  gap: 0.5rem;
  min-width: 0;
  overflow: visible;
  width: 100%;
  position: relative;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .nav-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0;
    align-items: center;
    justify-items: stretch;
    width: 100%;
  }
}

@media (min-width: 640px) {
  .nav-content {
    height: 4rem;
    gap: 0.75rem;
  }
}


.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: fit-content;
  margin-right: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-brand {
    margin-right: 0;
    grid-column: 1;
    justify-self: start;
    margin-left: 0;
    padding-left: 0;
  }
}

@media (min-width: 1280px) {
  .nav-brand {
    margin-right: 0;
  }
}

@media (min-width: 640px) {
  .nav-brand {
    gap: 0.625rem;
  }
}

@media (min-width: 768px) {
  .nav-brand {
    gap: 1rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  box-shadow: none;
  border: none;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  height: 1.75rem;
  width: auto;
  max-width: clamp(110px, 20vw, 220px);
  filter: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.logo-link:hover .logo-img {
  opacity: 0.9;
}

@media (min-width: 640px) {
  .logo-img {
    height: 2.25rem;
  }
}

@media (min-width: 768px) {
  .logo-img {
    height: 3.25rem;
  }
}

.bbb-seal {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
}

.bbb-seal:hover {
  opacity: 0.9;
}

.bbb-img {
  height: 2rem;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .bbb-img {
    height: 2.25rem;
    max-width: 120px;
  }
}

@media (min-width: 768px) {
  .bbb-img {
    height: 2.5rem;
    max-width: 140px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  height: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  overflow: visible;
  max-width: 100%;
  position: relative;
  justify-content: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    grid-column: 2;
    justify-content: space-evenly;
    width: 100%;
    gap: 0;
    padding: 0;
    align-items: center;
  }
  
  .desktop-nav > a,
  .desktop-nav > .dropdown {
    flex: 0 0 auto;
    margin: 0;
  }
}

.desktop-nav-right {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
    align-self: stretch;
    grid-column: 3;
    justify-self: end;
    margin-right: 0;
    padding-right: 0;
  }
}

.desktop-nav .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
  .desktop-nav-right {
    gap: 0.75rem;
  }
  
  .desktop-nav-right .btn-primary {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 1280px) {
  .desktop-nav-right {
    gap: 1rem;
  }
  
  .desktop-nav-right .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 1536px) {
  .desktop-nav-right {
    gap: 1.25rem;
  }
  
  .desktop-nav-right .btn-primary {
    padding: 0.625rem 1.5rem;
  }
}

.nav-link {
  color: var(--color-black);
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  line-height: 1.4;
  min-height: 2.5rem;
  font-size: 0.875rem;
  flex-shrink: 0;
  min-width: fit-content;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .nav-link {
    padding: 0.75rem 0.625rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 1280px) {
  .nav-link {
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 1536px) {
  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), #b91c1c);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--color-red);
}

.nav-link:hover::after {
  width: calc(100% - 1rem);
}

.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  min-width: fit-content;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-black);
  font-weight: 500;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  padding: 0.75rem 0.5rem;
  line-height: 1.4;
  min-height: 2.5rem;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  min-width: fit-content;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .dropdown-trigger {
    padding: 0.75rem 0.625rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 1280px) {
  .dropdown-trigger {
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
  }
}

@media (min-width: 1536px) {
  .dropdown-trigger {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

.dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), #b91c1c);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.dropdown-trigger:hover {
  color: var(--color-red);
}

.dropdown-trigger:hover::after {
  width: calc(100% - 1rem);
}

.dropdown-trigger svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
  transition: transform var(--transition-base);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 14rem;
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-black);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.dropdown-item:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.language-toggle {
  display: none;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-gray);
  border-radius: 0.5rem;
  background: var(--color-white);
  white-space: nowrap;
  min-width: fit-content;
  height: fit-content;
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
}

@media (min-width: 640px) {
  .language-toggle {
    padding: 0.5rem 0.875rem;
  }
}

@media (min-width: 1024px) {
  .language-toggle {
    display: flex;
    padding: 0.625rem 1rem;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .language-toggle {
    padding: 0.625rem 1.125rem;
  }
}

.lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  transition: color var(--transition-base), background-color var(--transition-base);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 2.25rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  height: auto;
  position: relative;
  z-index: 1;
}

.lang-btn:hover {
  color: var(--color-black);
}

.lang-btn.active {
  color: var(--color-red);
  font-weight: 700;
}

@media (min-width: 640px) {
  .lang-btn {
    font-size: 0.9375rem;
    min-width: 2.5rem;
    padding: 0.25rem 0.625rem;
  }
}

@media (min-width: 1024px) {
  .lang-btn {
    font-size: 1rem;
    min-width: 2.75rem;
    padding: 0.25rem 0.75rem;
  }
}

@media (min-width: 1280px) {
  .lang-btn {
    font-size: 1.0625rem;
    min-width: 3rem;
    padding: 0.25rem 0.875rem;
  }
}

.lang-btn:hover {
  color: var(--color-black);
}

.lang-btn.active {
  color: var(--color-red);
}

.lang-separator {
  color: var(--color-gray);
  margin: 0 0.375rem;
  font-weight: 400;
  flex-shrink: 0;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.2;
  opacity: 0.4;
  user-select: none;
}

@media (min-width: 1024px) {
  .lang-separator {
    margin: 0 0.5rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 1280px) {
  .lang-separator {
    margin: 0 0.625rem;
    font-size: 1rem;
  }
}

.mobile-menu-button {
  display: block;
  padding: 0.375rem 0.5rem;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-menu-button {
    display: none;
  }
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 640px) {
  .menu-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.mobile-menu {
  display: none;
  background-color: var(--color-white);
  border-top: 1px solid #e5e7eb;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.mobile-menu.open {
  display: block;
  max-height: 1000px;
  padding: 1rem 0;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .mobile-nav-content {
    gap: 1rem;
    padding: 0 1.5rem;
  }
}

.mobile-nav-link {
  display: block;
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--color-black);
  transition: color var(--transition-base);
}

.mobile-nav-link:hover {
  color: var(--color-red);
}

.mobile-dropdown {
  padding: 0.5rem 0;
}

.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 500;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  transition: color var(--transition-base);
}

.mobile-dropdown-trigger:hover {
  color: var(--color-red);
}

.mobile-dropdown-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-base);
}

.mobile-dropdown-trigger.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-dropdown-menu.open {
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-dropdown-item {
  display: block;
  font-size: 0.875rem;
  color: var(--color-gray);
  padding: 0.25rem 0;
  transition: color var(--transition-base);
}

.mobile-dropdown-item:hover {
  color: var(--color-red);
}

.mobile-language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--color-gray-light);
}

.mobile-lang-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.25rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-lang-btn.active {
  background-color: var(--color-red);
  color: var(--color-white);
}

.mobile-lang-btn:not(.active) {
  background-color: var(--color-gray-light);
  color: var(--color-black);
}

.mobile-lang-btn:not(.active):hover {
  background-color: var(--color-gray);
}

/* ============================================
   Footer Styles
   ============================================ */

.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem 0;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .footer-logo-link {
    margin-bottom: 1rem;
  }
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  max-width: clamp(140px, 20vw, 180px);
}

@media (min-width: 640px) {
  .footer-logo {
    height: 3rem;
  }
}

.footer-description {
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer-description {
    font-size: 1rem;
  }
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

@media (min-width: 640px) {
  .footer-links {
    gap: 0.5rem;
  }
}

.footer-links a {
  color: #9ca3af;
  transition: color var(--transition-base);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer-links a {
    font-size: 1rem;
  }
}

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

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .footer-contact {
    gap: 0.5rem;
    font-size: 1rem;
  }
}

.footer-contact a {
  color: #9ca3af;
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

.footer-copyright {
  text-align: center;
  color: #9ca3af;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .footer-copyright {
    font-size: 0.875rem;
  }
}

.footer-powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #374151;
  margin-top: 1rem;
}

.powered-by-text {
  color: #6b7280;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .powered-by-text {
    font-size: 0.875rem;
  }
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition-base);
}

.powered-by-link:hover {
  opacity: 0.8;
}

.powered-by-logo {
  height: 1.5rem;
  width: auto;
  min-height: 24px;
}

@media (min-width: 640px) {
  .powered-by-logo {
    height: 2rem;
  }
}

.powered-by-name {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .powered-by-name {
    font-size: 1rem;
  }
}

/* ============================================
   About Page Styles
   ============================================ */

.about-content {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--color-gray);
  line-height: 1.75;
}

.about-text p {
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.value-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  animation: rotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.value-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
  border-color: rgba(220, 38, 38, 0.2);
}

.value-card:hover::before {
  opacity: 1;
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
  animation: pulse 2s ease-in-out infinite;
}

.value-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.value-description {
  color: var(--color-gray);
}

.trust-content {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trust-point {
  margin-bottom: 0;
}

.trust-point-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.trust-point-description {
  font-size: 1.125rem;
  color: var(--color-gray);
  line-height: 1.75;
}

/* ============================================
   Services Page Styles
   ============================================ */

.service-detail-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .service-detail-card {
    padding: 2rem;
  }
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), #b91c1c, var(--color-red));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: gradientShift 3s ease infinite;
}

.service-detail-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(220, 38, 38, 0.3);
}

.service-detail-card:hover::before {
  transform: scaleX(1);
}

.service-detail-icon-wrapper {
  margin-bottom: 1.5rem;
}

.service-detail-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.service-detail-card:hover .service-detail-icon-box {
  background: linear-gradient(to bottom right, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
}

.service-detail-icon {
  font-size: 1.875rem;
}

.service-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  transition: color var(--transition-base);
}

.service-detail-card:hover .service-detail-title {
  color: var(--color-red);
}

.service-detail-description {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  min-height: 60px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-gray);
  flex-grow: 1;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-feature-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(220, 38, 38, 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.service-section-badge span {
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .services-section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .services-section-title {
    font-size: 3rem;
  }
}

.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1150px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .services-detail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-detail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
  }
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-form-section,
.contact-info-section {
  width: 100%;
}

.contact-form-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form-iframe {
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
}

.contact-info-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-info-card {
    padding: 2rem;
    gap: 2rem;
  }
}

.contact-info-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-item h3 span {
  font-size: 1.5rem;
}

.contact-info-item p {
  color: var(--color-gray);
}

.contact-info-item a {
  color: var(--color-red);
  font-weight: 600;
  transition: text-decoration var(--transition-base);
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-hours {
  white-space: pre-line;
  font-size: 0.875rem;
}

.contact-quick-actions {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.contact-quick-actions h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.contact-quick-actions .btn-primary,
.contact-quick-actions .btn-outline {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}

.contact-map-container {
  background-color: var(--color-white);
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-map {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 0.5rem;
  min-height: 300px;
}

.faq-section {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--color-gray);
}


/* ============================================
   Booking Page Styles
   ============================================ */

.booking-form-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.booking-helper-text {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-helper-text p {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.booking-form-wrapper {
  background-color: var(--color-white);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

@media (min-width: 640px) {
  .booking-form-wrapper {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .booking-form-wrapper {
    padding: 2rem;
  }
}

.booking-form-iframe {
  width: 100%;
  border: 0;
  border-radius: 0.5rem;
  min-height: 1550px;
}

.expect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .expect-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.expect-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.expect-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.expect-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.expect-card:hover::before {
  width: 300px;
  height: 300px;
}

.expect-card:hover .expect-icon {
  transform: scale(1.2) rotate(5deg);
}

.expect-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expect-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.expect-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.expect-description {
  color: var(--color-gray);
}

/* ============================================
   Payment Pages Styles
   ============================================ */

.payment-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .payment-page {
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .payment-page {
    padding: 3rem 2rem;
  }
}

.payment-card {
  max-width: 28rem;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
}

.payment-icon-wrapper {
  margin-bottom: 1.5rem;
}

.payment-icon-circle {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
}

.payment-icon-circle.success {
  background-color: #d1fae5;
}

.payment-icon-circle.cancel {
  background-color: #fef3c7;
}

.payment-icon {
  height: 2rem;
  width: 2rem;
}

.payment-icon.success {
  color: #059669;
}

.payment-icon.cancel {
  color: #d97706;
}

.payment-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.payment-message {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.payment-session-id {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.payment-session-id code {
  font-family: monospace;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-actions a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all var(--transition-base);
  text-align: center;
}

.payment-actions .btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
}

.payment-actions .btn-primary:hover {
  background-color: #b91c1c;
}

.payment-actions .btn-secondary {
  background-color: #e5e7eb;
  color: #1f2937;
}

.payment-actions .btn-secondary:hover {
  background-color: #d1d5db;
}

.payment-actions .btn-link {
  color: #4b5563;
  padding: 0.5rem 1rem;
}

.payment-actions .btn-link:hover {
  color: #111827;
}

.payment-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1.5rem;
}

/* ============================================
   Additional Smooth Transitions & Effects
   ============================================ */

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Link hover effects */
a:not(.btn-primary):not(.btn-secondary):not(.btn-outline) {
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.btn-primary):not(.btn-secondary):not(.btn-outline):hover {
  transform: translateX(2px);
}

/* Image hover effects */
img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
  transform: scale(1.05);
}

/* Form input focus animations */
input:focus,
textarea:focus,
select:focus {
  transform: scale(1.02);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section fade-in on load */
.section {
  animation: fadeIn 0.8s ease-out;
}

/* Smooth header scroll effect */
.site-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown menu animations */
.dropdown-menu {
  animation: fadeInDown 0.3s ease-out;
}

/* Mobile menu slide animation */
.mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card stagger animation delays */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Loading state animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  animation: spin 1s linear infinite;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb {
  transition: background 0.3s ease;
}

/* Reduce motion for users who prefer it */
/* ============================================
   Careers Page
   ============================================ */

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.job-card {
  background: var(--color-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-light);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-light);
}

.job-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  flex: 1;
}

.job-type {
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 1rem;
}

.job-card-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.job-location {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-description {
  color: var(--color-gray-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.job-requirements {
  margin-top: 1rem;
}

.job-requirements h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.job-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-requirements li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-gray-dark);
  line-height: 1.5;
}

.job-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

.job-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-light);
}

.apply-btn {
  width: 100%;
  justify-content: center;
}

.no-openings {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-gray-light);
  border-radius: 0.75rem;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.resume-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 2rem;
}

.resume-form-iframe {
  width: 100%;
  min-height: 1200px;
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.benefit-card {
  background: var(--color-white);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-gray-light);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.75rem;
}

.benefit-description {
  color: var(--color-gray-dark);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-gray);
  font-style: italic;
  padding: 0 1rem;
}

/* ============================================
   FAQ Page
   ============================================ */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-red);
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--color-white);
  border-radius: 0.5rem;
  border: 1px solid var(--color-gray-light);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
  transition: color 0.3s ease;
  font-family: inherit;
  line-height: 1.5;
}

/* Spanish FAQ question spacing */
html[lang="es"] .faq-question,
body[data-lang="es"] .faq-question {
  padding: 1.5rem 1.75rem;
  line-height: 1.6;
}

.faq-question:hover {
  color: var(--color-red);
}

.faq-question:focus {
  outline: 2px solid var(--color-red);
  outline-offset: -2px;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-gray-light);
}

.faq-answer p {
  padding: 1.25rem 1.5rem;
  margin: 0;
  color: var(--color-gray-dark);
  line-height: 1.7;
  font-size: 1rem;
}

/* Spanish FAQ answer spacing */
html[lang="es"] .faq-answer p,
body[data-lang="es"] .faq-answer p {
  padding: 1.5rem 1.75rem;
  line-height: 1.75;
}

.faq-cta {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-white) 100%);
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid var(--color-gray-light);
}

.faq-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq-cta-text {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.faq-cta-buttons .btn-primary,
.faq-cta-buttons .btn-outline {
  min-width: 160px;
  text-align: center;
  white-space: nowrap;
  height: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .faq-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .faq-cta-buttons .btn-primary,
  .faq-cta-buttons .btn-outline {
    width: 100%;
    min-width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

