/* =============================================
   COMPONENTES: BOTONES, TARJETAS, FORMULARIOS
   ============================================= */

/* ========== BOTONES ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(42, 165, 160, 0.25);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(42, 165, 160, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--teal-dark);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid var(--teal);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-3px);
}

/* ========== SERVICIOS GRID ========== */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, #F4FAFA 100%);
}

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

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  transition: all 0.4s;
  border: 1px solid rgba(42, 165, 160, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--lavender));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink-soft), var(--lavender-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card .icon svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '•';
  color: var(--pink);
  font-weight: bold;
}

/* ========== CERTIFICACIONES ========== */
.certs {
  background: linear-gradient(180deg, #F4FAFA 0%, var(--lavender-soft) 100%);
  padding-bottom: 120px;
}

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

.cert-card {
  background: white;
  padding: 26px;
  border-radius: 18px;
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}

.cert-card:nth-child(2n) {
  border-left-color: var(--pink);
}

.cert-card:nth-child(3n) {
  border-left-color: var(--lavender);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.cert-card .cert-year {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.cert-card:nth-child(2n) .cert-year {
  background: var(--pink);
}

.cert-card:nth-child(3n) .cert-year {
  background: var(--lavender);
}

.cert-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== GALERÍA - CHECKS ========== */
.gallery-checks {
  list-style: none;
  margin-top: 24px;
}

.gallery-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(42, 165, 160, 0.12);
}

.gallery-checks li:last-child {
  border-bottom: none;
}

.gallery-checks li svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.gallery-checks li strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.gallery-checks li span {
  font-size: 0.88rem;
  color: var(--text-light);
}

.gallery-text {
  padding-right: 20px;
}

/* ========== FORMULARIO DE CONTACTO ========== */
.contact-visual {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 40px;
}

.contact-visual h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--pink);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form button {
  background: var(--pink);
  color: white;
  padding: 15px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: white;
  color: var(--teal-dark);
  transform: translateY(-2px);
}

/* ========== UTILIDADES ========== */
.nav-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image img {
    height: 360px;
  }

  .gallery-badge {
    bottom: 12px;
    right: 12px;
    padding: 12px 16px;
  }

  .gallery-badge svg {
    width: 26px;
    height: 26px;
  }

  .gallery-badge span {
    font-size: 0.8rem;
  }

  .gallery-text {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .gallery-image img {
    height: 260px;
  }

  .contact-visual {
    padding: 30px 20px;
  }

  .contact-visual h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
}
