/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #4a4a4a;
  background-color: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-logo i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-menu a:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 1.5rem;
  color: #2d5a27;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(45, 90, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 90, 39, 0.6);
}

.btn-secondary {
  background: transparent;
  color: #2d5a27;
  border: 2px solid #2d5a27;
}

.btn-secondary:hover {
  background: #2d5a27;
  color: white;
  transform: translateY(-3px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 400px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  position: relative;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 2px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-text p {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border-left: 4px solid #4a7c59;
  transition: transform 0.3s ease;
}

.about-section:hover {
  transform: translateX(5px);
}

.about-section h4 {
  color: #2d5a27;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h4 i {
  color: #4a7c59;
  font-size: 1.2rem;
}

.about-section p {
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 0;
}

.about-section strong {
  color: #2d5a27;
  font-weight: 600;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e8 100%);
  border-radius: 15px;
  border: 1px solid #d4d4d4;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(45, 90, 39, 0.2);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d5a27;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 1.1rem;
  color: #6b6b6b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Formation Section */
.formation {
  padding: 80px 0;
  background: #f8faf8;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.formation-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border: 1px solid #d4d4d4;
}

.formation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.formation-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.formation-icon i {
  color: white;
  font-size: 1.5rem;
}

.formation-card h3 {
  font-size: 1.3rem;
  color: #4a4a4a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.formation-institution {
  color: #2d5a27;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.formation-year {
  color: #8b7355;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.formation-description {
  color: #6b6b6b;
  line-height: 1.6;
}

/* Experience Section */
.experience {
  padding: 80px 0;
  background: white;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  margin-right: 0;
  text-align: left;
  padding-left: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  box-shadow: 0 0 0 4px #2d5a27;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #d4d4d4;
}

.timeline-content h3 {
  color: #4a4a4a;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-institution {
  color: #2d5a27;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-period {
  color: #8b7355;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-description {
  color: #6b6b6b;
  line-height: 1.6;
}

/* Knowledge Section */
.knowledge {
  padding: 80px 0;
  background: #f8faf8;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.knowledge-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #d4d4d4;
  transition: transform 0.3s ease;
}

.knowledge-category:hover {
  transform: translateY(-5px);
}

.knowledge-category h3 {
  color: #4a4a4a;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.knowledge-category h3 i {
  margin-right: 10px;
  color: #2d5a27;
  font-size: 1.3rem;
}

.knowledge-category ul {
  list-style: none;
}

.knowledge-category li {
  color: #6b6b6b;
  padding: 0.5rem 0;
  border-bottom: 1px solid #d4d4d4;
  position: relative;
  padding-left: 1.5rem;
}

.knowledge-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2d5a27;
  font-weight: bold;
}

.knowledge-category li:last-child {
  border-bottom: none;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h3 {
  color: #4a4a4a;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8faf8;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  color: #2d5a27;
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 20px;
}

.contact-item span {
  color: #6b6b6b;
  font-weight: 500;
}



/* Footer */
footer {
  background: linear-gradient(135deg, #1a2f1a 0%, #2d5a27 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section li {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  padding: 0.25rem 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #8b7355;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .profile-image {
    width: 300px;
    height: 400px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
    padding-right: 0;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .formation-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
}

/* Login Button */
.login-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.login-button.show {
  opacity: 1;
  visibility: visible;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
  background: linear-gradient(135deg, #1a2f1a 0%, #2d5a27 100%);
}

.login-btn i {
  font-size: 1rem;
}

.login-btn span {
  display: none;
}

@media (min-width: 768px) {
  .login-btn span {
    display: inline;
  }
}

/* Login Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8faf8 0%, #e8f5e8 100%);
  padding: 20px;
}

.login-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  border: 1px solid #d4d4d4;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header i {
  font-size: 3rem;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.login-header h1 {
  color: #4a4a4a;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.login-header p {
  color: #6b6b6b;
  font-size: 1rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a4a4a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.login-form label i {
  color: #2d5a27;
}

.login-form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #d4d4d4;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.login-form input:focus {
  outline: none;
  border-color: #2d5a27;
}

.login-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
}

.back-link {
  color: #2d5a27;
    text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #1a2f1a;
}

/* Admin Panel Styles */
.admin-header {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.admin-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.admin-logo i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logout-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logout-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.admin-main {
  padding: 3rem 0;
  background: #f8faf8;
  min-height: calc(100vh - 80px);
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.admin-title {
  text-align: center;
  font-size: 2.5rem;
  color: #4a4a4a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.admin-subtitle {
  text-align: center;
  color: #6b6b6b;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.admin-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #d4d4d4;
  transition: transform 0.3s ease;
  text-align: center;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.admin-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.admin-card-icon i {
  color: white;
  font-size: 2rem;
}

.admin-card h3 {
  color: #4a4a4a;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.admin-card p {
  color: #6b6b6b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.admin-btn {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  width: 100%;
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
  .admin-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .admin-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-card {
    padding: 2rem;
  }
  
  .admin-title {
    font-size: 2rem;
  }
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.client-form,
.invoice-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #d4d4d4;
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h3 {
  color: #4a4a4a;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section h3 i {
  color: #2d5a27;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #4a4a4a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #d4d4d4;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d5a27;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input[readonly] {
  background: #f8f8f8;
  color: #6b6b6b;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #2d5a27;
  border: 2px solid #2d5a27;
}

.btn-secondary:hover {
  background: #2d5a27;
  color: white;
  transform: translateY(-2px);
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: #c82333;
  transform: scale(1.05);
}

.back-btn {
    color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.back-btn:hover {
  opacity: 0.8;
}

/* Invoice Specific Styles */
.servicio-item {
  background: #f8faf8;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid #d4d4d4;
}

.servicio-item .form-row {
  grid-template-columns: 2fr 1fr 1fr 0.5fr;
}

.totales-container {
  background: #f8faf8;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #d4d4d4;
}

.total-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.total-item:last-child {
  border-bottom: none;
}

.total-final {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2d5a27;
  border-top: 2px solid #2d5a27;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Responsive Form */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .servicio-item .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Services Page Styles */
.services-hero {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.services-hero .section-title {
  font-size: 2.0 rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 2.0;
  color: white;
  opacity: 1.0;
}

.services-subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: white;
  opacity: 0.9;
}

.therapy-types {
  padding: 80px 0;
  background: #f8f9fa;
}

.therapy-types .section-title {
  font-size: 2.0 rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 2.0;
  color: #497943;
  opacity: 1.0;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.therapy-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.therapy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.therapy-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.therapy-icon i {
  font-size: 2rem;
  color: white;
}

.therapy-card h3 {
  color: #2d5a27;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.therapy-card p {
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.therapy-features {
  list-style: none;
  padding: 0;
}

.therapy-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #6b6b6b;
}

.therapy-features li i {
  color: #4a7c59;
  margin-right: 10px;
  font-size: 0.9rem;
}

.services-pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #4a7c59;
}

.pricing-header {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.pricing-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 15px;
}

.pricing-icon i {
  font-size: 1.5rem;
  color: white;
}

.pricing-content {
  padding: 30px;
}

.pricing-content p {
  color: #6b6b6b;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.pricing-features li {
  padding: 8px 0;
  color: #6b6b6b;
  position: relative;
  padding-left: 20px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4a7c59;
  font-weight: bold;
}

.pricing-options {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

.pricing-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.option-type {
  font-weight: 600;
  color: #2d5a27;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4a7c59;
}

.duration {
  color: #8b7355;
  font-size: 0.9rem;
}

.packages-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid #e0e0e0;
}

.packages-title {
  text-align: center;
  color: #2d5a27;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 600;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.package-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #4a7c59;
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-3px);
}

.package-card h4 {
  color: #2d5a27;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.package-card p {
  color: #6b6b6b;
  margin-bottom: 20px;
}

.package-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.discount {
  background: #4a7c59;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.original-price {
  color: #8b7355;
  text-decoration: line-through;
  font-size: 1.1rem;
}

.final-price {
  color: #2d5a27;
  font-size: 1.5rem;
  font-weight: 700;
}

.specializations {
  padding: 80px 0;
  background: #f8f9fa;
}

.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.specialization-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.specialization-item:hover {
  transform: translateY(-5px);
}

.specialization-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.specialization-icon i {
  font-size: 1.8rem;
  color: white;
}

.specialization-item h3 {
  color: #2d5a27;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.specialization-item p {
  color: #6b6b6b;
  line-height: 1.6;
}

.services-cta {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.services-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
  .therapy-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .specializations-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-cta h2 {
    font-size: 1.8rem;
  }

  .therapy-card,
  .pricing-card,
  .package-card,
  .specialization-item {
    padding: 25px;
  }
  }
  
  .logo-img {
    height: 70px; /* Ajusta el tamaño según necesites */
    margin-right: 10px;
}

/*whatsapp button*/
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #407239;
  color: white;
  border-radius: 60%;
  font-size: 1.5rem;
  text-decoration: none;
}