/* ==== CONTACTO ELEGANTE Y PROFESIONAL - AGREGAR AL FINAL DEL CSS ==== */

/* Hero Contacto Moderno */
.contacto-hero-modern {
  position: relative;
  background: linear-gradient(135deg, var(--color-gray-dark) 0%, #1a1a1a 50%, var(--color-brown-dark) 100%);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.geometric-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  background-size: 100px 100px;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.element {
  position: absolute;
  border-radius: 50%;
  background: rgba(139, 69, 19, 0.1);
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 70%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 69, 19, 0.2);
  border: 1px solid rgba(139, 69, 19, 0.3);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brown);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-primary {
  display: block;
  color: var(--color-white);
}

.title-accent {
  display: block;
  background: linear-gradient(135deg, var(--color-brown), #D2691E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-secondary {
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-brown);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(139, 69, 19, 0.2);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 3;
}

.contact-cards-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.contact-card-mini {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(20px);
  animation: slideInRight 1s ease-out forwards;
}

.contact-card-mini:nth-child(2) {
  animation-delay: 0.2s;
}

.contact-card-mini:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
  }
}

.contact-card-mini .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.email-card .card-icon {
  background: linear-gradient(135deg, #EA4335, #D33B2C);
}

.phone-card .card-icon {
  background: linear-gradient(135deg, #34A853, #2E7D32);
}

.chat-card .card-icon {
  background: linear-gradient(135deg, var(--color-brown), var(--color-brown-dark));
}

.contact-card-mini .card-content {
  flex: 1;
  position: relative;
}

.contact-card-mini h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 4px;
}

.contact-card-mini p {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin: 0;
}

.status-dot {
  position: absolute;
  top: 2px;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2s infinite;
}

/* Sección Principal de Contacto */
.contact-main-section {
  padding: 5rem 0;
  background: var(--color-white);
  position: relative;
}

.contact-main-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-gray-dark), transparent);
  opacity: 0.1;
}

/* Formulario Moderno */
.contact-form-container {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--color-gray-bg);
}

.form-header-modern {
  background: linear-gradient(135deg, var(--color-brown), var(--color-brown-dark));
  color: var(--color-white);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.form-header-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
  animation: rotate 30s linear infinite;
}

.header-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.form-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 2;
}

.modern-contact-form {
  padding: 2.5rem;
}

.form-section {
  margin-bottom: 2.5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gray-bg);
}

.section-label i {
  color: var(--color-brown);
}

/* Floating Inputs */
.floating-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-input {
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1rem;
  border: 2px solid var(--color-gray-bg);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-white);
  transition: all 0.3s ease;
  outline: none;
}

.floating-input:focus {
  border-color: var(--color-brown);
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.1);
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
  transform: translateY(-2.2rem) scale(0.85);
  color: var(--color-brown);
  background: var(--color-white);
  padding: 0 8px;
}

.floating-label {
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  color: var(--color-gray);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  transform-origin: left center;
}

.input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brown);
  transition: width 0.3s ease;
}

.floating-input:focus ~ .input-highlight {
  width: 100%;
}

.field-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-light);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.floating-input:focus ~ .field-icon {
  color: var(--color-brown);
}

/* Select Moderno */
.select-group-modern {
  position: relative;
  margin-bottom: 1.5rem;
}

.modern-select {
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1rem;
  border: 2px solid var(--color-gray-bg);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-white);
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.modern-select:focus {
  border-color: var(--color-brown);
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.1);
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-light);
  pointer-events: none;
  transition: all 0.3s ease;
}

.modern-select:focus ~ .select-icon {
  color: var(--color-brown);
  transform: translateY(-50%) rotate(180deg);
}

/* Textarea Moderno */
.textarea-group-modern {
  position: relative;
  margin-bottom: 1rem;
}

.modern-textarea {
  width: 100%;
  padding: 1.2rem 1rem;
  border: 2px solid var(--color-gray-bg);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-white);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.modern-textarea:focus {
  border-color: var(--color-brown);
  box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.1);
}

.modern-textarea:focus + .textarea-label,
.modern-textarea:not(:placeholder-shown) + .textarea-label {
  transform: translateY(-2.2rem) scale(0.85);
  color: var(--color-brown);
  background: var(--color-white);
  padding: 0 8px;
}

.textarea-label {
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  color: var(--color-gray);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  transform-origin: left center;
}

.textarea-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brown);
  transition: width 0.3s ease;
}

.modern-textarea:focus ~ .textarea-highlight {
  width: 100%;
}

.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--color-gray-light);
  margin-top: 0.5rem;
}

.help-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-top: 0.5rem;
  padding: 12px;
  background: var(--color-gray-bg);
  border-radius: 8px;
  border-left: 3px solid var(--color-brown);
}

.help-text i {
  color: var(--color-brown);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Checkbox Moderno */
.checkbox-group-modern {
  margin-bottom: 2rem;
}

.modern-checkbox {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-lighter);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.modern-checkbox:checked + .checkbox-label .checkmark {
  background: var(--color-brown);
  border-color: var(--color-brown);
  color: var(--color-white);
}

.modern-checkbox:checked + .checkbox-label .checkmark i {
  animation: checkmark 0.3s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.checkbox-text {
  color: var(--color-gray);
}

.link-accent {
  color: var(--color-brown);
  text-decoration: none;
  font-weight: 500;
}

.link-accent:hover {
  color: var(--color-brown-dark);
  text-decoration: underline;
}

/* Botón de Envío */
.form-actions {
  text-align: center;
}

.btn-submit-modern {
  background: linear-gradient(135deg, var(--color-brown), var(--color-brown-dark));
  color: var(--color-white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
  min-width: 200px;
}

.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 69, 19, 0.4);
}

.btn-submit-modern:active {
  transform: translateY(0);
}

.btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-submit-modern.loading .btn-text {
  opacity: 0;
}

.btn-submit-modern.loading .btn-loader {
  opacity: 1;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--color-white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.submit-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.submit-help i {
  color: var(--color-success);
}

/* Sidebar de Contacto */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card,
.schedule-card,
.quick-actions-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-gray-bg);
  transition: all 0.3s ease;
}

.contact-info-card:hover,
.schedule-card:hover,
.quick-actions-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-bg);
}

.card-title i {
  color: var(--color-brown);
}

/* Métodos de Contacto */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--color-gray-bg);
  transition: all 0.3s ease;
  position: relative;
}

.contact-method:hover {
  background: rgba(139, 69, 19, 0.05);
  transform: translateX(5px);
}

.method-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.email-icon {
  background: linear-gradient(135deg, #EA4335, #D33B2C);
}

.phone-icon {
  background: linear-gradient(135deg, #34A853, #2E7D32);
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.method-content {
  flex: 1;
}

.method-content h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: 4px;
}

.method-content p {
  font-size: 0.9rem;
  color: var(--color-brown);
  font-weight: 500;
  margin-bottom: 2px;
}

.method-content small {
  font-size: 0.8rem;
  color: var(--color-gray-light);
}

.method-action {
  padding: 8px;
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--color-gray-lighter);
}

.method-action:hover {
  background: var(--color-brown);
  color: var(--color-white);
  border-color: var(--color-brown);
}

/* Horarios */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--color-gray-bg);
  border-radius: 8px;
  position: relative;
}

.day {
  font-weight: 500;
  color: var(--color-gray-dark);
}

.time {
  font-size: 0.9rem;
  color: var(--color-gray);
}

.status-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gray-lighter);
}

.status-indicator.active {
  background: var(--color-success);
  animation: pulse 2s infinite;
}

.status-indicator.closed {
  background: var(--color-danger);
}

.current-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(139, 69, 19, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--color-brown);
}

.current-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2s infinite;
}

/* Acciones Rápidas */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-gray-bg);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-gray-dark);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.quick-action:hover {
  background: var(--color-white);
  border-color: var(--color-brown);
  color: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

.action-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-brown), var(--color-brown-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  flex-shrink: 0;
}

.faq-question {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray-dark);
  margin: 0;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  background: var(--color-gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  transition: all 0.3s ease;
}

.faq-item-modern.active .faq-toggle {
  background: var(--color-brown);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-collapse {
  transition: all 0.3s ease;
}

.faq-body {
  padding: 0 1.5rem 1.5rem 5rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.faq-body ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-body li {
  margin-bottom: 0.5rem;
}

.faq-body strong {
  color: var(--color-gray-dark);
}

/* CTA Final */
.cta-contact-section {
  background: linear-gradient(135deg, var(--color-gray-dark), var(--color-brown-dark));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  animation: rotate 60s linear infinite;
}

.cta-content-modern {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-white);
}

.cta-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-description {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-cta-primary {
  background: var(--color-white);
  color: var(--color-brown);
  border: 2px solid var(--color-white);
}

.btn-cta-primary:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-cta-secondary:hover {
  background: var(--color-white);
  color: var(--color-brown);
  transform: translateY(-2px);
}

/* Responsive para contacto */
@media (max-width: 768px) {
  .hero-title-modern {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    text-align: center;
  }
  
  .stat-divider {
    display: none;
  }
  
  .contact-cards-preview {
    padding: 1rem;
  }
  
  .contact-card-mini {
    animation: none;
    transform: none;
  }
  
  .modern-contact-form {
    padding: 1.5rem;
  }
  
  .form-header-modern {
    padding: 2rem;
  }
  
  .contact-sidebar {
    margin-top: 2rem;
  }
  
  .faq-body {
    padding: 0 1.5rem 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* JavaScript para contador de caracteres */
/* Agregar este script al final del HTML o en un archivo JS separado */
/*
document.addEventListener('DOMContentLoaded', function() {
    const textarea = document.getElementById('mensaje');
    const charCount = document.getElementById('charCount');
    
    if (textarea && charCount) {
        textarea.addEventListener('input', function() {
            const count = this.value.length;
            charCount.textContent = count;
            
            if (count > 450) {
                charCount.parentElement.style.color = 'var(--color-warning)';
            } else if (count > 500) {
                charCount.parentElement.style.color = 'var(--color-danger)';
            } else {
                charCount.parentElement.style.color = 'var(--color-gray-light)';
            }
        });
    }
    
    // Estado actual de horarios
    const statusElement = document.getElementById('currentStatus');
    if (statusElement) {
        const now = new Date();
        const hour = now.getHours();
        const day = now.getDay();
        
        if (day >= 1 && day <= 5 && hour >= 8 && hour < 18) {
            statusElement.textContent = 'Abierto ahora - Respondemos inmediatamente';
            statusElement.previousElementSibling.style.background = 'var(--color-success)';
        } else if (day === 6 && hour >= 9 && hour < 13) {
            statusElement.textContent = 'Abierto ahora - Horario de sábado';
            statusElement.previousElementSibling.style.background = 'var(--color-success)';
        } else {
            statusElement.textContent = 'Cerrado - Te responderemos en horario hábil';
            statusElement.previousElementSibling.style.background = 'var(--color-warning)';
        }
    }
});
*/

.action-content h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.action-content p {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin: 0;
}

.quick-action i:last-child {
  margin-left: auto;
  opacity: 0;
  transition: all 0.3s ease;
}

.quick-action:hover i:last-child {
  opacity: 1;
  transform: translateX(5px);
}

/* FAQ Moderno */
.faq-section-modern {
  background: var(--color-gray-bg);
  padding: 5rem 0;
}

.section-header-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 2px solid var(--color-brown);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gray-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

.faq-container-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-modern {
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid var(--color-gray-lighter);
  transition: all 0.3s ease;
}

.faq-item-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item-modern.active {
  border-color: var(--color-brown);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-header:hover {
  background: rgba(139, 69, 19, 0.02);
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-brown), var(--color-brown-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}