/* Variables y Reset */
:root {
  --color-primary: #40e0d0;
  --color-primary-dark: #35beb0;
  --color-primary-light: #85e9de;
  --color-text: #333333;
  --color-text-light: #757575;
  --color-background: #ffffff;
  --color-background-alt: #f9f9f9;
  --color-border: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --transition-normal: all 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-background);
  font-weight: 500; /* Más robusto pero no tan pesado */
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Contenedor principal */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700; /* Cambiar a bold */
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-weight: 500; /* Más robusto pero no tan pesado */
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

.accent {
  color: var(--color-primary);
}

/* Secciones */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background-color: var(--color-background-alt);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  text-transform: uppercase; /* Opcional: letras mayúsculas */
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.05); /* Efecto de agrandamiento */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1fba58;
}

.btn-email {
  background-color: #ea4335;
  color: white;
}

.btn-email:hover {
  background-color: #d73125;
}

/* Header y Navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 40px;
  transition: var(--transition-normal);
}

.logo-large {
  height: 80px; /* Aumentar el tamaño */
  margin: 0 auto;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Formularios */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.25);
}

.character-count {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Notificaciones */
.notification-center {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.notification {
  background-color: white;
  color: var(--color-text);
  padding: 1rem 1.5rem;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
  transform: translateX(100%);
  animation: slide-in 0.3s forwards;
}

.notification.success {
  border-left: 4px solid #28a745;
}

.notification.error {
  border-left: 4px solid #dc3545;
}

.notification.info {
  border-left: 4px solid var(--color-primary);
}

@keyframes slide-in {
  to {
    transform: translateX(0);
  }
}

/* Utilidades */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--color-text);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-logo .logo {
  height: 50px;
}

.footer-logo .logo-large {
  height: 100px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.admin-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-normal);
  margin-bottom: 1rem;
}

.admin-link:hover {
  color: white;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .header-container {
    flex-direction: column;
  }

  .nav-list {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-top: 1.5rem;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.7rem 1.2rem;
  }

  .nav-link {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
}

.service-card,
.team-member,
.office-image {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member p {
  text-align: justify;
}

.team-member-padding {
  padding: 2rem;
}

.service-card:hover,
.team-member:hover,
.office-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

a,
span,
li {
  font-weight: 500; /* Más robusto pero no tan pesado */
}
